I have a laravel website that is currently live and is using blade template for the views and I am thinking of using react JS in some views.
I want to know if it's possible to use react in some views while still having the blade template rendering some views.
…
Top comments (1)
It is possible. But now there are other questions:
There is a snippet I like to share with people, to show how you can use react without a build step in a plain html file. Maybe this can give you a hint. The only catch is that it needs a modern browser, and that you need to use a couple of packages to overcome some limitations:
You also might want to consider using preact instead of react because its "lighter" (3 kb).