voximplant / react-native-demo

React Native Voximplant Demo
173 stars 146 forks source link

Why are you using classes instead functions? #81

Open lucasbraintly opened 3 years ago

lucasbraintly commented 3 years ago

Hello!

I have a question. Do you have any reason to mantain the class components instead of functional components? If I want to migrate all class components to functional components may I have some technical limitations?

Thanks!

YuliaGrigorieva commented 3 years ago

Hello @lucasbraintly ,

There are no limitations to use Voximplant React Native SDK with functional components.

We have just added a new lightweight demo CallApp based on functional components. Please take a look.

Best regards, Yulia Grigorieva