How to import react functional component
I'm trying to create new section with React js.
I made simple react functional component According to py_react_clock example from UI Gallery I have to import it using pega:onlyonce and pega:file name Then use it inside React.CreateElement() However it only works with react class-components. Is there any way I can import and use functional component? Thanks in advance!