[Vuejs]-Dynamically including Reactjs components

0đź‘Ť

Whatever you need to update in react components, store that variable in local state if you are using class components like this.state = { variable_name: “”}.

If you are using functional components, same thing store in local state using hooks.
e.g: const [currentWidget, setCurrentWidget] = useState(“”).

Leave a comment