Comments (5)
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.
from packrat.
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.
from packrat.
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.
@andrew-bierman
I can suggest using recoil JS, if you want I can create some basic setup and fire up PR with that which you can look at it.
from packrat.
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.
I started refactoring of search input, but I ended up to find solution for this. I'm using url serach params for stroing global state, it is a good practice I think, it also saves current state when the user reloads the page.
#653
from packrat.
However I think it's not a solution for all the cases, I'm still figuring out how to solve i. e. weather object, Obviously using queryString for the complex state is not the best solution,
from packrat.
Related Issues (20)
- Phase 1: Initial Migration to Drizzle ORM
- Next Js Integration for web ✨
- Logout button is crashing native application
- Next.js Feature Implementation Tracking HOT 1
- @rnmapbox/maps native code not available. Make sure you have linked the library and rebuild your app HOT 1
- trip
- Roadmap to a Native Feel on Mobile Devices HOT 1
- Fix Broken UI throughout Native App: Ensure all UI components render correctly and are fully functional across different devices and screen sizes. HOT 6
- packDetails broken
- search page HOT 2
- virtual lists + refresh on scroll. also infinite queries would be nice here HOT 1
- pack table needs to be fixed (lets decrease number columns with zeego DropdownPopover) HOT 1
- Alerts that Reflect Standards: Ensure the use of the Alert component aligns with expected standards, with appropriate titles, messages, and button configurations. See tamagui Alert with native set to true.
- Pull to Refresh with RefreshControl: Adopt the pull-to-refresh pattern for lists or scrollable areas.
- Implement Context Menus for Feed Cards: Utilize context menus to offer additional options or actions on long press. Zeego also provides support for this.
- Trip details screen (viewing a single trip)
- Fix form validations
- Cannot update a component (`ToastProvider`) while rendering a different component (`Login`).
- Segmented Control for Toggling Views: Integrate segmented controls for switching between different views or filtering content. A custom implementation or third-party library may be required as Expo lacks a specific library.
- Large Titles with react-navigation: Incorporate large titles in stack navigators, especially for top-level views.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packrat.