Confusion and Need for Help with rx and rx-react Functions
I'm having a bit of trouble wrapping my head around all of the concepts in rx and rx-react. After reading through the code, tests, and the example vouchervault app I still don't have a full understanding of what some of the functions do or when to use them. I'd be happy to help write some docs or examples if someone could help me understand it more fully. Specifically I'm a bit confused about a few things:
1. What is the purpose of RxRef and when should it be used?
2. What is the purpose of Rx.family and when should it be used?
3. How should writable be used in general to handle updating data?
4. What's the right way to share a runtime (services) between regular effect code and rx?
5. Is there a way to avoid boilerplate of defining an rx for every field of a schema or service that needs to re-render ui on change? I have some schemas with 50+ fields.
6. How/where do you usually store state that needs to be used/updated across disparate parts of the UI tree and in effects? An effect service? React context? A global store?
7. With rx-react how do you avoid needing to write conditionals in your components for every
1. What is the purpose of RxRef and when should it be used?
2. What is the purpose of Rx.family and when should it be used?
3. How should writable be used in general to handle updating data?
4. What's the right way to share a runtime (services) between regular effect code and rx?
5. Is there a way to avoid boilerplate of defining an rx for every field of a schema or service that needs to re-render ui on change? I have some schemas with 50+ fields.
6. How/where do you usually store state that needs to be used/updated across disparate parts of the UI tree and in effects? An effect service? React context? A global store?
7. With rx-react how do you avoid needing to write conditionals in your components for every
Result from useRxValue especially if you know the rx always has a value (a default provided)?