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.getState #10

Open
lindelwa122 opened this issue Sep 28, 2023 · 2 comments
Open

store.getState #10

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

Comments

@lindelwa122
Copy link
Owner

store.getState

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.

getState

getState() takes a property name as input and returns the value of that property.

Parameter/Input:

  • key: string

The function returns the value of the key if it exists, and undefined if it doesn't.

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

Hey @lindelwa122 , I would like to contribute to this feature after giving the PR for delete feature ..

@lindelwa122
Copy link
Owner Author

Hey, @rakshithapatel08, feel free to get started.

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