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

store.createStore #9

Open
lindelwa122 opened this issue Sep 28, 2023 · 1 comment
Open

store.createStore #9

lindelwa122 opened this issue Sep 28, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers to do Feature is required

Comments

@lindelwa122
Copy link
Owner

store.createStore

store

The store will hold variables that are intended to be accessible throughout the app. Users will be able to retrieve and modify these variables from anywhere within the app.

createStore

The createStore() function takes an object and stores it in a private variable within the store. The function should throw an error if invoked for the second time.

@lindelwa122 lindelwa122 added enhancement New feature or request good first issue Good for newcomers to do Feature is required labels Sep 28, 2023
@sinster2003
Copy link
Contributor

sinster2003 commented Oct 2, 2023

Hi @lindelwa122 I have got a fair enough idea and approach to proceed after going through the update state function I would like to work on create store function after my previous PR... will update you soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers to do Feature is required
Projects
None yet
Development

No branches or pull requests

2 participants