Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

anatolewilson's avatar

Use react for specific pages in laravel application

I want to use react for specific pages in my laravel application. Im using Laravel as fullstack stack. So im using standard html-css-pure js flow.

But in my specific pages (i have some calculator etc.) i want to use react, to manage state easily. Is there any way to do it without creating bearer token flow.

When I connect react, i want to get all my session data. is that possible?

0 likes
1 reply
MohamedTammam's avatar

Use React as a component inside the page.

PS: I would use AlpineJS for it's small size.

Please or to participate in this conversation.