Skip to content

Conversation

@skryukov
Copy link
Collaborator

@skryukov skryukov commented Dec 3, 2025

This PR:

@skryukov skryukov force-pushed the render-data-in-script-tag branch from 83bc454 to 514e272 Compare December 3, 2025 08:50
Comment on lines 208 to 209
> When using this option make sure your client-side Inertia setup is configured to read the page data from the `<script>` element.
> See the [protocol documentation](/guide/the-protocol#html-responses) for more details.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe I missed it in the protocol doc, but what actual client side configuration is required?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, fixed

Support InertiaRails.once prop
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 10, 2025

Deploying inertia-rails with  Cloudflare Pages  Cloudflare Pages

Latest commit: 28f1aa9
Status: ✅  Deploy successful!
Preview URL: https://722a1615.inertia-rails.pages.dev
Branch Preview URL: https://render-data-in-script-tag.inertia-rails.pages.dev

View logs

@skryukov skryukov requested a review from bknoles December 11, 2025 07:28
Copy link
Collaborator

@bknoles bknoles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a cool feature! Good job Team Laravel!

@bknoles bknoles merged commit e70f54a into master Dec 11, 2025
33 checks passed
@bknoles bknoles deleted the render-data-in-script-tag branch December 11, 2025 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants