In react-native what are the deff* between ViewGroupManager and SimpleViewManager ?
Thanks.
I think the answer to that is exactly the same as this:
Difference between View and ViewGroup in Android
SimpleViewManager
extends View
and
ViewGroupManager
extends ViewGroup
I copy the following image from the above answer that explains their difference:
So to simplify things, it looks like whenever you have a very similar native UI component then you'd wanna use a SimpleViewManager
, but if you want to have children within parents then you need to use a ViewGroupManager
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With