write typical react component and integrate with hyperstack
There is a requirement. I wanted to code a typical react component in js and integrate it with hyperstack.
Is it really possible? I have tried but nothing works.
Any idea or suggestion?
Yes, you can see how in the main documentation: https://docs.hyperstack.org/client-dsl/javascript-components#importing-javascript-or-react-libraries Hyperstack depends on React 16 though...
Thanks for the response @mpantel . The docs that you shared shows how to use react libs. I wanted to use custom react component.
for example,
function Car() {
return <h2>Hi, I am a Car!</h2>;
}
export default Car;
I wanted to execute this file as it is. Is there anyway to do this?
@mpantel @catmando Any suggestions to integrate pure react component in hyperstack?