aashishpeepra / authentication-states-with-recoiljs

Testing Authentication state management with Recoil.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Testing Recoil js

To run this project locally

Clone this project locally. Get inside the cloned folder. Then follow commands.

npm install
npm start
What does it do?
  1. Shows how state is being managed without shifting component states to ancestors.

  2. State can be used anywhere within same folder or even outside it.

    This reminds me of useSelector and useDispatch hooks from redux. They server the same purpose as useRecoilState and useRecoilValue does

  3. The impressive fact is the simplicity in setup. Redux would have taken more know-how and setup time. For small yet complex projects, Recoil.js is really nice.

About

Testing Authentication state management with Recoil.js


Languages

Language:JavaScript 68.7%Language:HTML 17.3%Language:CSS 14.0%