https://github.com/fa7ad/reasonable-hackernews
A test app for exploring reason
https://github.com/fa7ad/reasonable-hackernews
hackernews-api react rescript rescript-react
Last synced: 3 months ago
JSON representation
A test app for exploring reason
- Host: GitHub
- URL: https://github.com/fa7ad/reasonable-hackernews
- Owner: fa7ad
- License: mit
- Archived: true
- Created: 2020-05-08T13:05:47.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-01T22:18:49.000Z (10 months ago)
- Last Synced: 2025-02-13T10:53:19.766Z (4 months ago)
- Topics: hackernews-api, react, rescript, rescript-react
- Language: ReScript
- Homepage: https://reasonable-hackernews.now.sh
- Size: 1.59 MB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# *Reason*able HackerNews
[](https://github.com/fa7ad/reasonable-hackernews/deployments) [](https://unmaintained.tech/)
This is a very small project to try and make a full-fledged\* React app using [ReScript](https://rescript-lang.org/) et al.
This is completely for the purpose of me learning ReScript and trying to integrate the ReScript ecosystem with my prior knowledge of the React ecosystem.
This application pulls a few top stories from the HackerNews API and displays them in a very simple, responsive UI. I added a very basic sorting functionality as well.
~~The state management is done through *reductive* (a rewrite of Redux in ReasonML) and ReduxThunk.~~
The state management this time around is completely done through `React.useReducer` and the Context API.
## Tooling
This project uses [create-react-app](https://create-react-app.dev/) along with the ReScript compiler, and `npm-run-all` to facilitate running both simultaneously.## License
See [**LICENSE.md**](https://github.com/fa7ad/reasonable-hackernews/blob/master/LICENSE.md)