-
Notifications
You must be signed in to change notification settings - Fork 801
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: support React 17 * add react 17 tests * fix: use enzyme 16 adapter for React 17 * fix: add React 17 support for lazy, related to #1425 * ci uses absolute paths * fix: split trackTailUpdate into two options. Enable lazy wrapping by default * update tests * update yarn.lock * linting * reverse wrapLazy option effect
- Loading branch information
Showing
15 changed files
with
445 additions
and
98 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
echo "Installing React 15" | ||
yarn add react@15 react-dom@15 react-test-renderer@15 --pure-lockfile | ||
echo "\n\n" | ||
|
||
yarn test:react-dom:prepare | ||
|
||
echo "Running tests on React 15 - Babel ES2015" | ||
yarn test:es2015 | ||
echo "\n\n" | ||
|
||
echo "Running tests on React 15 - Babel Modern" | ||
yarn test:modern | ||
echo "\n\n" | ||
echo "\n\n" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
echo "Installing React 16.10" | ||
yarn add react@16 react-dom@16.10 react-test-renderer@16.10 --pure-lockfile | ||
echo "\n\n" | ||
|
||
yarn test:react-dom:prepare | ||
|
||
echo "Running tests on React 16.10 - Babel ES2015" | ||
yarn test:es2015 | ||
echo "\n\n" | ||
|
||
echo "Running tests on React 16.10 - Babel Modern" | ||
yarn test:modern --coverage && codecov | ||
echo "\n\n" | ||
|
||
|
||
|
||
echo "Installing React 16:latest" | ||
yarn add react@16 react-dom@16 react-test-renderer@16 --pure-lockfile | ||
echo "\n\n" | ||
|
||
yarn test:react-dom:prepare | ||
|
||
echo "Running tests on React 16:latest - Babel ES2015" | ||
yarn test:es2015 | ||
echo "\n\n" | ||
|
||
echo "Running tests on React 16:latest - Babel Modern" | ||
yarn test:modern --coverage && codecov | ||
echo "\n\n" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
echo "Installing React 17" | ||
yarn add react@17.0.0-rc.2 react-dom@17.0.0-rc.2 react-test-renderer@17.0.0-rc.2 --pure-lockfile | ||
echo "\n\n" | ||
|
||
yarn test:react-dom:prepare | ||
|
||
echo "Running tests on React 17 - Babel ES2015" | ||
yarn test:es2015 | ||
echo "\n\n" | ||
|
||
echo "Running tests on React 17 - Babel Modern" | ||
yarn test:modern --coverage && codecov | ||
echo "\n\n" |
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
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.