Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

add redux #417

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

Open
mickeypause wants to merge 5 commits into roninoss:main
base: main
Choose a base branch
Loading
from mickeypause:redux
Open

add redux #417

mickeypause wants to merge 5 commits into roninoss:main from mickeypause:redux

Conversation

@mickeypause
Copy link

@mickeypause mickeypause commented Sep 30, 2024

[cli] Added redux as a state management option

Description

  1. Added redux as an option to cli
  2. Wrapped every navigation into Provider
  3. Created a template with a demo store

Motivation and Context

Redux is still one of the most popular state management solutions used in production, with @reduxjs/toolkit having 3.6 million daily downloads. However, it takes a lot of effort to set it up due to the large amount of boilerplate code. These changes create a minimal Redux store and configure everything needed to start working with Redux immediately.

How Has This Been Tested?

Tested using bun run test and manually tested each option.

Copy link
Collaborator

dannyhw commented Oct 27, 2024

hey sorry that we haven't gotten to this, its not forgotten we're just thinking about the best way to approach adding more options to the cli

mickeypause reacted with thumbs up emoji

Copy link
Collaborator

@dannyhw dannyhw left a comment
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a note and this is a minor thing but if you change unrelated indentation it makes it a bit harder to review what the changes are, I've reverted some of the indentation changes to make it easier to review.

Copy link
Collaborator

dannyhw commented Nov 3, 2024

I added the changes also for the nativewindui layouts

Copy link
Collaborator

dannyhw commented Nov 6, 2024

I've merged the other state management pr which has caused some conflicts but I can help resolve those soon so that we can also get this merged

Copy link
Author

I've merged the other state management pr which has caused some conflicts but I can help resolve those soon so that we can also get this merged

If you want I can try to resolve those issues

Copy link
Collaborator

dannyhw commented Nov 6, 2024

@mickeypause yes that would be great, thank you 🙏

Copy link
Member

@mickeypause Are you still interested in making this addition? If so, can you rebase and ping me? Otherwise, I'll close this PR by the end of the month.

Copy link
Member

Similar question here @dannyhw re rebasing and testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@dannyhw dannyhw dannyhw left review comments

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /