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

fix(@toss/react): useStorageState - set default value to storage #494

Closed
wants to merge 2 commits into from

Conversation

sa02045
Copy link
Contributor

@sa02045 sa02045 commented Jun 4, 2024

Overview

FIX #421

Set the value in storage when the value is initialized to the default value.

Example

Edit use-session-storage

PR Checklist

  • I read and included theses actions below
  1. I have read the Contributing Guide
  2. I have written documents and tests, if needed.

Copy link

vercel bot commented Jun 4, 2024

@sa02045 is attempting to deploy a commit to the Toss Team on Vercel.

A member of the Team first needs to authorize it.

@sa02045 sa02045 changed the title fix: set defaultValue to storage fix(@toss/react): set defaultValue to storage Jun 4, 2024
@sa02045 sa02045 changed the title fix(@toss/react): set defaultValue to storage fix(@toss/react): useStorageState - set defaultValue to storage Jun 4, 2024
@sa02045 sa02045 changed the title fix(@toss/react): useStorageState - set defaultValue to storage fix(@toss/react): useStorageState - set default value to storage Jun 4, 2024
@sa02045 sa02045 closed this by deleting the head repository Sep 12, 2024
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.

[BUG]: @toss/react default values setting of useStorageState
1 participant