Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…#1271) * Deprecate withRef in favor of forwardRef and React.forwardRef Deprecate withRef and use forwardRef prop instead. When forwardRef is true, the ref passed to the injected component will be passed down to the wrapped component. Display a invariant message when withRef is used. Closes #1211. * Refactor withIntl to be composable Refactor the call to withIntl to allow for HoC composing, such as: export default compose( connect(...conntextOptions), withIntl(intlOptions) ) This is done without changing the main API, options can still be passed in as second arguments to withIntl too. Add 'react-is' as a strict dependency, change the rollup config to be able to properly build with it.
- Loading branch information
1 parent
ee7888c
commit 6c36e74
Showing
6 changed files
with
181 additions
and
146 deletions.
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
Oops, something went wrong.