artalar / reatom

Reatom - the ultimate state manager
https://reatom.dev
MIT License
1.1k stars 110 forks source link

7GUIs example #751

Open artalar opened 9 months ago

artalar commented 9 months ago

Context: https://eugenkiss.github.io/7guis/

We need to fork https://github.com/eugenkiss/7guis-React-TypeScript-MobX for our examples.

Use vite as a bundler. Instead of observable use reatomComponent.

Laniman commented 9 months ago

I'm working on it. I have never used Reatom before. But so far I have made 2 3 4 5 6 7 GUIs and everything seems to work. The page with demos is not ready yet. I'll make it to auto-deploy to github pages a little later.

source: https://github.com/Laniman/7guis-React-TypeScript-Reatom demo: https://laniman.github.io/7guis-React-TypeScript-Reatom/

Laniman commented 8 months ago

@artalar I moved everything to reatom, updated dependencies, moved everything to css-modules and tailwind, but js logic didn't change much. For example in:

Any further instructions? I am ready to make any edits.

Link to PR for comparison: https://github.com/Laniman/7guis-React-TypeScript-Reatom/pull/1 or look in the repository by commits https://github.com/Laniman/7guis-React-TypeScript-Reatom