Re:Go with PHP
by sberens on Thursday May 11, 2023 @01:35AM
(#35898014)
As someone more familiar with js/react, is there an equivalently mature reactive frontend framework?
[ Parent
| on HN ]
Re:Go with PHP
by lostdesign on Thursday May 11, 2023 @05:34AM
(#35899830)
Laravel has inertia, livewire or alpine to get reactive/snappy frontends if you want to have an SPA. Inertia lets you use your react while not needing to write an api. Livewire drops the js completely and does the SPA-esque frontend with php, alpine is just a smol lib to make parts of the website interactive.
Generally speaking, if you use PHP to build an API, you can use react still as is.