React custom component with props in cif-venia project
I have created a project using Venia, there are no issues with CIF component, working just fine,
I have to create some custom components for which I want to use React js, but not sure how to pass the data to react component as props. I dont want to make an API calls for each and every components to get the component data.
The way I am looking for is like WKND project where you hae Mapto to map the components between AEM and React can get data from props.
I tried react habitat which works only with class components not with functional component.
Thanks