Closed stevehanson closed 6 months ago
I rebased this branch and force pushed.
One problem I encountered was the test suite in the created expo app did not exit gracefully. This could be the reason behind CI failure.
This command should probably ask the user if they want to use React Query and not automatically install it.
Hi folks, I'm working on this PR as part of Space Station 🛰️
This command should probably ask the user if they want to use React Query and not automatically install it.
@stevehanson Do you mean as part of the standard create app process? The change I'm making right now to make the reactQuery command work independently is to have the QueryClientProvider
injected in the App.tsx
file by a utility rather than be part of the boilerplate, similar to what we did for hooks.
@codeofdiego yes, as part of createApp
is what I was referring to 👍 Sorry for the poorly jotted note.
I rebased this PR and updated it per the Trello ticket we defined this morning:
New apps currently pull down coffee drinks from an API and display them. We might want to consider a different API and maybe showing results in a separate tab in a follow-up PR.
Released in 0.6.1.
This follows the template that we previously coded in react-native-templates.
For now, the "create" command automatically uses React Query, but we will likely decide to prompt the user if they'd like to use this or Apollo (for GraphQL) in the future.