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

enhance useLocalStorageState #146

Merged
merged 3 commits into from
Nov 17, 2019
Merged

Conversation

awmleer
Copy link
Collaborator

@awmleer awmleer commented Nov 12, 2019

defaultValue 支持传入函数,保持和 useState 一致。

@vercel
Copy link

vercel bot commented Nov 12, 2019

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/umijs/hooks/8vde0br89
🌍 Preview: https://hooks-git-enhance-use-local-storage-state.umijs.now.sh

@awmleer awmleer added the enhancement Improvement or optimization label Nov 12, 2019
@awmleer awmleer changed the base branch from master to feature November 12, 2019 08:39
Copy link
Collaborator

@ttys026 ttys026 left a comment

Choose a reason for hiding this comment

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

LGTM

@ttys026 ttys026 merged commit b642751 into feature Nov 17, 2019
@delete-merged-branch delete-merged-branch bot deleted the enhance/use-local-storage-state branch November 17, 2019 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement or optimization
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants