facebookexperimental / Recoil

Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.
https://recoiljs.org/
MIT License
19.57k stars 1.18k forks source link

Having examples in the repo #11

Open art1373 opened 4 years ago

art1373 commented 4 years ago

I saw a folder in the other packages repositories called examples. Any new concept introduced into recoil can be put in this folder for others to view and get an idea of it in addition to docs.

Here is my implementation basic(ish) based on docs. We can use it as a basic example. example link

davidmccabe commented 4 years ago

Thanks for providing this example! We have a lot more documentation and examples coming.

wburningham commented 4 years ago

@davidmccabe I'm personally interested in explore the code of the canvas application that you demoed in your video. Is there any way to share that application before maybe creating/sharing more polished examples?

sibelius commented 4 years ago

this is a recoil todo app based on docs https://github.com/sibelius/recoil-todo

drarmstr commented 4 years ago

Yeah, I like the idea of including the live example in the repro and website. We also have a "playground" that demonstrates some concepts that we should polish up and make live as an even simpler example of all of the core and util helpers.

@davidmccabe I'm personally interested in explore the code of the canvas application that you demoed in your video. Is there any way to share that application before maybe creating/sharing more polished examples?

@csantos42 and I were thinking it would make sense to include that as an "Advanced Tutorial" next to the "Basic Tutorial"