FormidableLabs / react-live

A flexible playground for live editing React components

Home Page:https://commerce.nearform.com/open-source/react-live/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Any way to use normal JS class with functional component

appanasantosh opened this issue · comments

I have a scenario. On the editor, I need to create controller class and an functional component which uses that controller class instance. And this is the default code I need to show on the code editor for user. So that he can continue further.

Can we have class and functional component on the React-live editor?