Recoil: How a new JS library to handle React state…

brb

Component state in React is passed through Parent and Child, which requires the use of Props to pass state.

Definition taken from the Recoil API:

‘Recoil lets you create a data-flow graph that flows from atoms (shared state) through selectors (pure functions) and down into your React components. Atoms are units of state that components can subscribe…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
MDN

MDN

Composer, Designer, Educator