I have a huge number of console errors like this appearing in my app:
Warning: React does not recognize the
textStyle
prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercasetextstyle
instead. If you accidentally passed it from a parent component, remove it from the DOM element.
Ideally I would fix the errors but sadly that's not possible as I'm using Styled System with Styled Components: https://github.com/styled-system/styled-system/issues/1044
As a less than ideal workaround Id like to disable certain errors from the console for the development version of React. Can this be done?
Not sure if it matters but I'm using React Native Web.