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

Refactor recoil v4 #3266

Merged
merged 2 commits into from
Jan 5, 2024
Merged

Refactor recoil v4 #3266

merged 2 commits into from
Jan 5, 2024

Conversation

charlesBochet
Copy link
Member

@charlesBochet charlesBochet commented Jan 5, 2024

This is (hopefully) the last try to simplify out usage of recoil and scopes!

The API is much simpler:
create(State|Selector|FamilyState|FamilySelector)ScopeMap

to read:
getState(stateScopeMap|selectorScopeMap, scopeId)
getFamilyState(familyStateScopeMap|familySelectorScopeMap, scopeId)

And THAT's IT

Copy link

github-actions bot commented Jan 5, 2024

Warnings
⚠️

Changes were made to package.json, but not to yarn.lock - Perhaps you need to run yarn install?

Generated by 🚫 dangerJS against 3bcfa66

@charlesBochet charlesBochet merged commit 96264e2 into main Jan 5, 2024
12 of 13 checks passed
@charlesBochet charlesBochet deleted the recoil-refacto branch January 5, 2024 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant