My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
Managing React State with ReSub - Nader Dabit - Medium

Managing React State with ReSub - Nader Dabit - Medium

Nader Dabit's photo
Nader Dabit
·May 1, 2017

ReSub is a library released by Microsoft + Open Source for writing React components that automatically manages subscriptions to data sources simply by accessing them. It suggests the use of TypeScript. From their docs: It is fine to use ReSub without TypeScript, but without access to TypeScript's method decorators, stores and components cannot leverage autosubscriptions, and as such, lose a lot of their value.