Closed jaredpalmer closed 4 years ago
Good idea, we're rolling out more docs and examples. Thanks for the feedback.
The short answer is that the contents of atoms is opaque as far as Recoil is concerned, so there's nothing to do.
I would just show one example. It removes the reader from having to guess.
@jaredpalmer - Is something like https://recoiljs.org/docs/guides/asynchronous-data-queries#data-flow-graph what you were thinking?
@drarmstr I think I figured this out.
https://codesandbox.io/s/recoil-sandbox-20200516-meh12?file=/src/App.js
Note: I'm not data fetching with recoil or with suspense
Right now, the docs show nearly all atom state to be strings or numbers. It would be great to show how to use atomFamily and selectorFamily to work with nested data and normalized data