-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[docs] Fix useStorageState regressions #41223
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
edc3d33
[utils] Port `useLocalStorageState` hook from Toolpad (#41096)
Janpot babbcf8
Fix useStorageState regressions
Janpot 3111b22
Update useLocalStorageState.ts
Janpot d5c5b00
Update ThemeModeToggle.tsx
Janpot ee0901e
Update ThemeModeToggle.tsx
Janpot 977f7ed
Update useLocalStorageState.ts
Janpot ac7599c
Update useLocalStorageState.ts
Janpot 4038038
Update useLocalStorageState.ts
Janpot 0f37e1f
Update useLocalStorageState.ts
Janpot ebdf2bc
convention; no blank space here
oliviertassinari 39ef9ba
convention
oliviertassinari 4bfc8f6
need to return null for the first render as we migh need special hand…
oliviertassinari 6041a93
simplify the logic
oliviertassinari c22dc5c
add no-ssr
oliviertassinari f234945
early exit for duplicated work
oliviertassinari 6e58a21
fix lousy code hygiene
oliviertassinari 9f9ddc3
omg really
oliviertassinari d49bc1d
remove console logs
oliviertassinari 3f94ebf
group related logic
oliviertassinari b6c1a28
leave comments to make sure future iteration will take steps toward t…
oliviertassinari c209835
good to go
oliviertassinari 6c9b1e9
fix ci
oliviertassinari a1a54fd
Merge branch 'heads/upstream/master' into storageRegs
Janpot c363951
Merge branch 'heads/upstream/master' into storageRegs
Janpot dd935db
Fix types
Janpot cd4e274
update
Janpot 371978b
Update comment
Janpot e217b3d
Update useLocalStorageState.ts
Janpot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Either we use different
modeStorageKey
andattribute
keys between Material UI and Material UI Next or we remove this.