alexvcasillas / react-forum-system

React Forum System
http://reactivecommunity.com
BSD 3-Clause "New" or "Revised" License
16 stars 5 forks source link

Component to hold Query data #3

Closed alexvcasillas closed 5 years ago

alexvcasillas commented 5 years ago

I have to try to create a component that will hold the data that comes from a Query component, so I can just render the component itself and keep state there so I won't see: list -> loading -> list because that's so annoying, I have to give a try, maybe React is smart enough to just render the diff :)

alexvcasillas commented 5 years ago

CodeSandbox of the concept: https://codesandbox.io/s/91q220zrny