forked from mobxjs/mobx-react
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: jest test jsdom SecurityError ref: jsdom/jsdom#2304 * Add link to mobx-react-lite (mobxjs#603) * Create a failing test for React.forwardRef * Refs are now properly forwarded * observer + forwardRef is now reactive * Minor tweak, updated changelog * Fixed weird minification issue * Published version 5.4.0 * Fixed rollup issue, fixes mobxjs#608 * Published version 5.4.1 * Fixed issue with ForwardRef being bundled as undefined * Published version 5.4.2 * Cleaner implementation of forwardRef * Added open question
- Loading branch information
1 parent
664aa60
commit d6099f3
Showing
6 changed files
with
86 additions
and
2 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,23 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`stateless component with forwardRef is reactive 1`] = ` | ||
<div> | ||
result: | ||
hello world | ||
, | ||
got ref | ||
, a.x: | ||
2 | ||
</div> | ||
`; | ||
|
||
exports[`stateless component with forwardRef render test correct 1`] = ` | ||
<div> | ||
result: | ||
hello world | ||
, | ||
got ref | ||
, a.x: | ||
1 | ||
</div> | ||
`; |
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