-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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 getDerivedStateFromProps usage #980
Closed
Closed
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
b631441
up min react versions
cellog 25e3fc6
working, except the issue with multiple mapState calls
cellog de4e4f3
typo
cellog f751ac9
success! gDSFP-based react-redux
cellog 9284894
up the peer dependency to React 16.4
cellog 948c20f
remove debugging code
cellog 490b0e3
use polyfill, make peer dependency relaxed
cellog 86e986b
fix style details
cellog 1d96dac
move instance props into state
cellog 26e4fb8
make subscription async-safe
cellog 6b83e13
fully fix subscription
cellog 8a8e151
update subscription change check to be accurate
cellog 52d4f45
rename resolves to be clearer
cellog 3333363
resolve conflicts
cellog d50fb7d
Merge react-redux master into another-fix-5.1
cellog 1d8ab34
remove console statements
cellog fe60a4b
fix for React 16-16.3
cellog 72fca1c
fix breaking tests
cellog 1285e4e
remove unnecessary Promise (React lifecycle does this for us)
cellog 35e9d12
fix nitpicks and use a constant instead of function call every connect()
cellog 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
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.
No reason to do the string splitting every time this runs. We can just do it once when
connect()
is called, or even once at the top of the file.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.
duh. fixing :)