Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
__test__
.babelrc
README.md
api.js
hn-tiles.js
index.js
package.json
yarn.lock

README.md

HN API with redux-tiles

This is an example, how one can implement redux layer with redux-tiles. This official reference was used. Current implementation supports fetching different pages of different types of pages (e.g. top stories, news, etc), with support of caching. Tiles code is located in hn-tiles.js file, with extensive number of commentaries.

You can run it by yourself:

yarn install
yarn test # note time for the second test – caching should work!