You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wondering if I can customize some underlying react-native components such as Image or Text by using an approach similar to this library. Ideally I would like to do something like
I'm pretty sure this won't work. I've never defined a react component with a .render method so is this something coming from the way the react native components work? I'm pretty sure this .render override strategy doesn't work with normal react components, so how does this work?
The text was updated successfully, but these errors were encountered:
every(I haven't check it but 99% sure) RN components wrapped with forwardRef and it return elementType which have .render
if you want use same strategy, just wrap your component with forwardRef
Hey,
I'm wondering if I can customize some underlying react-native components such as
Image
orText
by using an approach similar to this library. Ideally I would like to do something likeI'm pretty sure this won't work. I've never defined a react component with a
.render
method so is this something coming from the way the react native components work? I'm pretty sure this.render
override strategy doesn't work with normal react components, so how does this work?The text was updated successfully, but these errors were encountered: