Show HN: React JsonData Class for Displaying API Data – HN Clone Demo in Comment (github.com) 2 points by __app_dev__ 6y ago ↗ HN
[–] __app_dev__ 6y ago ↗ View Hacker News Clone Demo Live Here: https://www.dataformsjs.com/examples/hacker-news-react.htmOr view source code on GitHub: https://github.com/dataformsjs/dataformsjs/blob/master/examp...This demo is browser based with Babel Standalone so give it an extra second or two on a phone.This component is designed to work well with both `create-react-app` and directly in a browser.Basic usage: <JsonData url="https://hacker-news.firebaseio.com/v0/topstories.json" isLoading={<ShowLoading />} hasError={<ShowError />} isLoaded={<ShowTopStories />} />
1 comment
[ 2.8 ms ] story [ 11.1 ms ] threadOr view source code on GitHub: https://github.com/dataformsjs/dataformsjs/blob/master/examp...
This demo is browser based with Babel Standalone so give it an extra second or two on a phone.
This component is designed to work well with both `create-react-app` and directly in a browser.
Basic usage: <JsonData url="https://hacker-news.firebaseio.com/v0/topstories.json" isLoading={<ShowLoading />} hasError={<ShowError />} isLoaded={<ShowTopStories />} />