When tanstack query is a direct dependency vite ends up building it in and creating context for it, which is then unreachable from a new React app that installs finch. Usage of any component that looks for query context finds the blank one from vite and throws an error, missing any that is added by a dev in a fresh app. Just move it to peer dependency.
When tanstack query is a direct dependency vite ends up building it in and creating context for it, which is then unreachable from a new React app that installs finch. Usage of any component that looks for query context finds the blank one from vite and throws an error, missing any that is added by a dev in a fresh app. Just move it to peer dependency.