Hacker News new | comments | ask | show | jobs | submit login
Show HN: A React state management library using the new Context API (github.com)
5 points by diegohaz 10 months ago | hide | past | web | favorite | 1 comment

Feedback is really appreciated.

Repo: https://github.com/diegohaz/constate

Demo: https://codesandbox.io/s/7p2qv6mmq

This is something I needed in another project of mine, so I decided to abstract it into a new package: constate.

The goal was to use it to start building a simple application in the most simplest way: using React local state.

Whenever I feel the need to scale up and use some sort of global state, instead of adding redux, mobx or another complex library, I can just add a context property and everything works.

Applications are open for YC Summer 2019

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact