charting-library-tutorial icon indicating copy to clipboard operation
charting-library-tutorial copied to clipboard

How can Implement the react component like Function component?

Open mcjeikk opened this issue 3 years ago • 1 comments

Hello, I tried to adapt the example in react JavaScript tutorial from class component to function component, but when I try to render the component it says that container doesn't exist, I already created the div with ID. Anyone has the example of this component in function component? Thanks

mcjeikk avatar Apr 16 '22 15:04 mcjeikk

Hi @mcjeikk, I have implemented the tutorial in react using functional componets. you can find it here: https://github.com/Ahmad-Ghorbani/trading-view-react.

Ahmad-Ghorbani avatar Nov 08 '22 18:11 Ahmad-Ghorbani