It seems that you might want to consider Server-Side Rendering.
InertiaJS vs only VueJS
Hello,
I'm a little disappointed by InertiaJS.
InertiaJS offers effectively a great way to handle authentication and routing, but I find that it generates the feeling of a heavy code while loading datas to be displayed in the views.
The views don't display directly and immediately on the screen, it always takes a little time (very little time) which is perceptible and IMHO doesn't give a very good user experience.
What about your opinion ?
Thanks for sharing your experience ;).
Vincent
InertiaJS offers effectively a great way to handle authentication and routing
@vincent15000 It doesn’t. You should be doing that on the server. Inertia essentially replaces views; you don’t do routing with it.
The views don't display directly and immediately on the screen, it always takes a little time (very little time) which is perceptible and IMHO doesn't give a very good user experience.
Well, this is what happens when you move rendering to the client via JavaScript 🙃 This isn’t a downside of InertiaJS; this is literally the downside of using any JavaScript to render your front-end.
If you want your views to be rendered and populated with data as soon as they’re retrieved from the server, then just build a “normal” web app with controllers and Blade views, instead of drinking the Kool-Aid or whatever new package has come out.
Please or to participate in this conversation.