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

Adding State Management Options to CLI #280

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

theblondealex
Copy link

Description

I had added state management options to the ces flow

  • Initially I have only added Zustand but with the approval of this PR I will look into adding other optons too
  • Adds a question on the flow (see image)
  • Adds a --zustand flag to skip the question too.
    This creates a folder in the root directory called state management with a default store from the zustand docs, it could be updated in future with a more generic store and some comments on how to use but to start with its the default store from zustand docs

Motivation and Context

My motivation was as I believe that ces can and should become one of the best and number one go to option for starting new RN expo apps and state management is mandatory in almost every app asit scales and having the setup from the get go is a must, as well as this the intuitive nature of ces means that for beginner RN devs they can use it and this will ease them into state management, in short ces should have eveything you could need, state management is one such item

Screenshots (if appropriate):

image

Copy link

changeset-bot bot commented May 2, 2024

🦋 Changeset detected

Latest commit: fe1da85

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
create-expo-stack Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented May 2, 2024

@theblondealex is attempting to deploy a commit to the ronin-tech Team on Vercel.

A member of the Team first needs to authorize it.

@danstepanov
Copy link
Owner

@theblondealex Will explore adding this to the CLI once I move NativeWindUI to the styles section, aiming to do so this weekend.

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

2 participants