Closed Nick-Mazuk closed 4 years ago
Ya, findDOMNode
is deprecated, but the correct way to replace it is to use the ref
attribute, which we don't have access to. So for now we use it but don't have a fix other than don't use strict mode.
We have moved this package to be under our axe-core-npm monorepo for easier management. As a result, this repository will be deprecated in the coming weeks.
I have transferred the issue so we can still keep track of it.
Ok, thanks Straker!
As soon as I hooked up react-axe, I got dozens of instances of this error:
Where
[function component]
is the display name of a function component used on the current page.I am using Next JS and integrated
react-axe
as shown in https://github.com/dequelabs/react-axe/issues/125The errors are almost certainly coming from
react-axe
since the following does not produce any errors:Any ideas on how to fix this? It looks like
react-axe
is correctly identifying accessibility errors, but those errors are drowned by seas of this error making the use ofreact-axe
impractical right now.