react/packages/react-fetch/npm
Richard Maisano c512aa0081
[Blocks] Scaffolding react-fetch + first pass at node implementation (#18863)
* First pass at scaffolding out the Node implementation of react-data.

While incomplete, this patch contains some changes to the react-data
package in order to start adding support for Node.

The first part of this change accounts for splitting react-data/fetch
into two discrete entries, adding (and defaulting to) the Node
implementation.

The second part is sketching out a rough approximation of `fetch` for
Node. This implementation is not complete by any means, but provides a
starting point.

* Remove NodeFetch module and put it directly into ReactDataFetchNode.

* Replaced react-data with react-fetch.

This patch shuffles around some of the scaffolding that was in
react-data in favor of react-fetch. It also removes the additional
"fetch" package in favor of something flatter.

* Tweak package organization

* Simplify and add a test

Co-authored-by: Dan Abramov <dan.abramov@me.com>
2020-05-12 17:21:45 +01:00
..
index.browser.js [Blocks] Scaffolding react-fetch + first pass at node implementation (#18863) 2020-05-12 17:21:45 +01:00
index.js [Blocks] Scaffolding react-fetch + first pass at node implementation (#18863) 2020-05-12 17:21:45 +01:00
index.node.js [Blocks] Scaffolding react-fetch + first pass at node implementation (#18863) 2020-05-12 17:21:45 +01:00