Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7GUIs example #751

Open
artalar opened this issue Jan 25, 2024 · 2 comments
Open

7GUIs example #751

artalar opened this issue Jan 25, 2024 · 2 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@artalar
Copy link
Owner

artalar commented Jan 25, 2024

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
Copy link
Contributor

Laniman commented Feb 4, 2024

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
Copy link
Contributor

Laniman commented Feb 19, 2024

@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:

  • 6 gui (circles) used withUndo(), but in the atomization approach I have to create a new circle object per diameter change. In the plan to rewrite this with reatomDynamicUndo.
  • In 7 gui (cells) I create atoms on the fly, I don't know how much this is correct practice. But I haven't thought of any other way to realize it yet.

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants