6

In react-native what are the deff* between ViewGroupManager and SimpleViewManager ?

Thanks.

tarik203
  • 375
  • 3
  • 9
  • 1
    I'd LOVE to know that as well. It seems that the native realms of react-native are SOO undocumented. Did you finally figure that out? – SudoPlz Feb 06 '18 at 19:35

1 Answers1

6

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.

SudoPlz
  • 20,996
  • 12
  • 82
  • 123