React SPA Project with Function Based component | Community
Skip to main content
Ankan_Ghosh
Level 3
February 22, 2024
Question

React SPA Project with Function Based component

  • February 22, 2024
  • 1 reply
  • 613 views

I was trying to set up React SPA in my local. I have done that successfully but the example comes with one REACT component which used the old class-based approach. What changes do I need to make to use the new Function-based components?  

It will be helpful if someone can share the code example/ pseudo codes of all the changes and integrations required to get it running.

 

Thanks,

Ankan Ghosh

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Imran Khan
Community Advisor
Community Advisor
February 22, 2024

Follow below link for approach class based SPA approach:

https://medium.com/@toimrank/aem-react-spa-fb10256dbdce

Ankan_Ghosh
Level 3
February 22, 2024

Thanks for the response.

But I already have this set up on my machine. I am trying to get a Function-based react component working in it.