-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/experimenting with trpc query #392
Feat/experimenting with trpc query #392
Conversation
Your Render PR Server URL is https://packrat-dev-pr-392.onrender.com. Follow its progress at https://dashboard.render.com/web/srv-ck94anpehpqs73dpdvvg. |
Your Render PR Server at https://packrat-dev-pr-392.onrender.com is now live! View it on your dashboard at https://dashboard.render.com/web/srv-ck94anpehpqs73dpdvvg. |
Your Render PR Server at https://packrat-dev-pr-392.onrender.com is now live! View it on your dashboard at https://dashboard.render.com/web/srv-ck94anpehpqs73dpdvvg. |
Trpc react query
updated the search into packs and get single trip and fetch global items
…ill more work needed
f2003de
to
f8496d1
Compare
…ript Converting all hooks to .ts
…rpc-query-trip-issue feat: fix add trip issue and wether card issue
Feat/trip fixes
Adding items to a pack via the /trips screen is broken. It works from the standard pack details screen. Also packs are appearing empty in the /trips screen and not showing their items. |
We need to figure out our state management solution for something like create trip. How should we pass around the data for this? I'm open to pass around state props if we can avoid drilling too deep. We have some stuff in redux still (ie weather state, search state (photon)), but i think we could probably optimize this. Maybe we move state logic and mutations to more defined redux slices (ie set weather object into the createTrip redux store. So all async stuff would go through trpc query but for some of these more complex forms we use redux? But I think we could also probably accomplish a lot of this with just useState also. Or custom hook with useState could solve too honestly. |
…menting-with-trpc-query
All things from redux store that need to be moved over
Reference this for create, edit, delete actions - https://www.whitespectre.com/ideas/how-to-build-offline-first-react-native-apps-with-react-query-and-typescript/