-
Notifications
You must be signed in to change notification settings - Fork 47k
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
React v16.8.5 #15192
React v16.8.5 #15192
Commits on Mar 22, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 13a3788 - Browse repository at this point
Copy the full SHA 13a3788View commit details -
Don't set the first option as selected in select tag with
size
attr……ibute (facebook#14242) * Set 'size' attribute to select tag if it occurs before appending options * Add comment about why size is assigned on select create. Tests I added some more clarification for why size must be set on select element creation: - In the source code - In the DOM test fixture - In a unit test * Use let, not const in select tag stub assignment
Configuration menu - View commit details
-
Copy full SHA for d822d4b - Browse repository at this point
Copy the full SHA d822d4bView commit details -
Fix shallow renderer not allowing hooks in forwardRef render functions (
facebook#15100) * test: Add test for shallow + forwardRef + hook * fix(react-test-renderer): shallow forwardRef hooks
Configuration menu - View commit details
-
Copy full SHA for 8f73358 - Browse repository at this point
Copy the full SHA 8f73358View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b86a6e - Browse repository at this point
Copy the full SHA 6b86a6eView commit details -
Support React.memo in ReactShallowRenderer (facebook#14816)
* Support React.memo in ReactShallowRenderer ReactShallowRenderer uses element.type frequently, but with React.memo elements the actual type is element.type.type. This updates ReactShallowRenderer so it uses the correct element type for Memo components and also validates the inner props for the wrapped components. * Allow Rect.memo to prevent re-renders * Support memo(forwardRef()) * Dont call memo comparison function on initial render * Fix test * Small tweaks
Configuration menu - View commit details
-
Copy full SHA for 62f5d4a - Browse repository at this point
Copy the full SHA 62f5d4aView commit details -
[Shallow] Implement setState for Hooks and remount on type change (fa…
…cebook#15120) * Throw away old shallow renderer state on type change This worked in function components but was broken for classes. It incorrectly retained the old instance even if the type was different. * Remove _previousComponentIdentity We only needed this because we didn't correctly reset based on type. Now we do so this can go away. * Use _reset when unmounting * Use arbitrary componentIdentity There was no particular reason it was set to element.type. We just wanted to check if something is a render phase update. * Support Hook state updates in shallow renderer
Configuration menu - View commit details
-
Copy full SHA for 342fa78 - Browse repository at this point
Copy the full SHA 342fa78View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5cb9d3 - Browse repository at this point
Copy the full SHA b5cb9d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fc13e4 - Browse repository at this point
Copy the full SHA 1fc13e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0a2e84 - Browse repository at this point
Copy the full SHA a0a2e84View commit details -
Add more info to invalid hook call error message (facebook#15139)
* Add more info to invalid hook call error message * Update other renderers + change call to action * Update related tests for new hooks error message * Fix lint errors
Configuration menu - View commit details
-
Copy full SHA for fb572af - Browse repository at this point
Copy the full SHA fb572afView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9e41e3 - Browse repository at this point
Copy the full SHA f9e41e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84cc8a3 - Browse repository at this point
Copy the full SHA 84cc8a3View commit details