An open API service indexing awesome lists of open source software.

https://github.com/lab49/quickbits-recoil-atom-family

Lab49 quickbits: React + Recoil AtomFamily Sync Demo
https://github.com/lab49/quickbits-recoil-atom-family

lab49 quickbits react recoil

Last synced: 13 days ago
JSON representation

Lab49 quickbits: React + Recoil AtomFamily Sync Demo

Awesome Lists containing this project

README

          




Lab49 quickbits


## Lab49 `quickbits`: [React](https://reactjs.org/) + [Recoil](https://recoiljs.org) AtomFamily Sync Demo
This project is a quickbits showcase of Recoil's `atomFamily` API.
Often in financial applications we have many pieces of independent data that need to be updated rapidly and independently. This is a perfect use case for the `atomFamily` since it can dynamically generate unique atoms of state to be associated with a given ID. These unique atoms ensure that only components which are subscribed to it are updated.

![Screen Shot 2022-10-04 at 9 39 33 AM](https://user-images.githubusercontent.com/97474840/196573558-6ea46ab7-96e4-4483-826b-7d1112edcdc8.png)

### [View the live demo!](https://quickbits-recoil-atom-family.vercel.app/)

## Developers guide

Clone this repository, `npm install`, `npm run dev`, and you're ready to get going:

```bash
git clone git@github.com:lab49/quickbits-recoil-atom-family.git
npm i
npm run dev
```

Open [http://localhost:3000](http://localhost:3000) in your browser to get started!