4 ms·
I've been experimenting with using a component to fetch data. The data to fetch is declaratively described as props. https://github.com/limscoder/react-wrangle
by limscoder 10y ago
I've been experimenting with using a component to fetch data.
The data to fetch is declaratively described as props.
https://github.com/limscoder/react-wrangler https://github.com/limscoder/react-wrangler
It uses immutable and allows for time travel debugging.
- netghost 10y agoThat's a really neat approach. I like how it allows you to trigger code on missing paths. That seems like a really simple way to model an API.