inertiajs / inertia-rails

The Rails adapter for Inertia.js.
https://inertia-rails.dev/
MIT License
574 stars 45 forks source link

With SSR enabled, X-Inertia requests doesn't work #76

Closed sun0f3 closed 2 years ago

sun0f3 commented 2 years ago

SSR is a great tool for SEO oriented projects. So we expect to get html for common requests, but it doesn't make sense to retrieve html on real user after loading first page (X-Inertia requests)

I opened PR https://github.com/inertiajs/inertia-rails/pull/75

Another point is to have regress-strategy if node server fails or doesn't run (during restart time).

Really appreciate inertia project. So please leave me a comment

BrandonShar commented 2 years ago

Thanks @99monkey ! Just tagged a new release (1.12.1) that includes your fix from #75