-
Hello 👋 Here's a codesandbox showing what I'm trying to achieve: https://codesandbox.io/s/blissful-water-cmgxbx?file=/src/App.js The Do you have any suggestions on how I should go about it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
I believe this behavior is due to how the collection caches the children. One way to forcibly rerender the Cell's content is via context like so: https://codesandbox.io/s/delicate-violet-vmnnie?file=/src/App.js. |
Beta Was this translation helpful? Give feedback.
-
I tried this because i need loading states to show in cells when async stuff happens - it never shows for me cus it doesnt re render. Dunno what I'm doing wrong - is there a reliable way to make every cell work like they normally would do like as if they arent cached? ( click on cell -> does something async -> need to show loading state/progress -> async stuff is over -> show new state ) |
Beta Was this translation helpful? Give feedback.
I believe this behavior is due to how the collection caches the children. One way to forcibly rerender the Cell's content is via context like so: https://codesandbox.io/s/delicate-violet-vmnnie?file=/src/App.js.