-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Complete React 16 support #1553
Comments
Isnt #1229 related to this? |
@MarcoNicolodi I don't think it is; that issue might either be a bug in v3 or intended behavior, but it's not related to React 16 specifically. |
I’m hoping to bunch together as many as possible; there’s currently a backlog for me to go through, after which i hope to cut a release. |
@ljharb is there a list of issues you'd like to get merged before releasing a new version on npm? Would love to see this one get released soon: #1513 as my team has already migrated our codebase so just waiting on tests passing. Perhaps we could help finish up some issues for you to get the release in. |
Nope, just #1504 - createRef() works fine when it's nested. test('enzyme should mount object refs', () => {
const ref = React.createRef()
const wrapper = mount(<div ref={ref} />)
const div = wrapper.find('div').first()
expect(div).toBeTruthy()
expect(ref).toHaveProperty('current', div.instance())
})
|
Is there any chance of an alpha release, or do all features need to be supported in one go? |
It looks like the Profiler tickbox is still unsupported but the linked issue is closed. Are there plans to add support for this? I ended up opening a PR for this. |
Overarching project: https://github.com/airbnb/enzyme/projects/4
getDerivedStateFromError
(Support getDerivedStateFromError #2036)shallow
for React16 Portals #1507Using <React.Fragment> prints warning with enzyme's mount with IE11 #1503.find
and.findWhere
#1733contextType
(16.6) (wrappedComponent doesn't actually pass context values down in tests #2189, upstream PR)forwardRef
: respect.displayName
#1817<React.StrictMode />
: https://reactjs.org/docs/strict-mode.html<React.unstable_AsyncMode />
/<React.unstable_ConcurrentMode />
:lazy
/Suspense
(16.6, Support Suspense #1917)memo
(16.6, Newmemo
feature from React 16.6 is not supported #1875)The text was updated successfully, but these errors were encountered: