reagent-project / reagent

A minimalistic ClojureScript interface to React.js
http://reagent-project.github.io/
MIT License
4.74k stars 412 forks source link

Warnings about all components named 'cmp' after upgrading RN to 0.67.4 #565

Closed xfyre closed 2 years ago

xfyre commented 2 years ago

After upgrade to React Native 0.67.4 I'm having a lot of this in logs:

WARN Got a component with the name 'cmp' for the screen 'Profile'. React Components must start with an uppercase letter. If you're passing a regular function and not a component, pass it as children to 'Screen' instead. Otherwise capitalize your component's name.

Which is sort of annoying. I understand that this is how Reagent represents components internally, is there any way to fix this? Adjusting :display-name doesn't help.

xfyre commented 2 years ago

Pls disregard - warning is actually coming from React Navigation. Closing.