Hi @Kintu, welcome to the forum! It looks like there is a line missing in the MyComponent definition. It should return something like <BuilderComponent model="page" content={builderContentJson} />. If you could share a Codesandbox with your code I can help you debug further. Here is our React starter which might help too: builder/examples/react at main · BuilderIO/builder · GitHub
Hey @Kintu, thanks for sharing the codesandbox! It looks like you are using react-router-dom v6 which is currently not backwards compatible and has several breaking changes you can read about in the link below. Our react starter uses v5 and would be affected by changes to <Route component>, <Route render> and <Switch> if upgraded to v6 at this time. I would recommend downgrading to v5.3 and using <Switch> instead of <Routes> for the easiest path forward or refactoring your routing completely to v6. That should get your app up and running!
Hi @ancheetah! Thanks so much for the help: I managed to get my page to render! Now I have a new query. This is how my page looks like in the when Builder renders it:
No problem, glad I could help! That is strange. If you inspect the button on your dev server, is the button text there (see screenshot)? I was not able to reproduce this on my localhost with your landing page. After I forked your sandbox and downgraded to react-router-dom v5 I had to make a couple changes to your landing page template which you can see here but it works fine for me.