inertia-rails: inertia_share doesn't always seem to run

We’re using Inertia for a new web app and loving things so far. We do currently have an issue where the inertia_share doesn’t seem to run consistently on initial page load?

The rendered props are there and correct in the data-page attribute but the shared props are nowhere to be seen. A reload typically fixes this but it’s pretty bad in our instance since we share a layout prop which renders an application shell

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 24 (4 by maintainers)

Most upvoted comments

@snaptopixel we just released a new version with this fix in it… 1.4.0, or pull the latest from Rubygems.

please report here if it solves the issue for you! would be nice to have confirmation. thanks for reporting this!

Also, fwiw, after a few days of decent usage we haven’t seen the issue while using @ledermann’s fork, everything has been running v nice

Also, @bknoles the issue does seem to be resolved with @ledermann’s fork, we are not having heavy usage right now so I’ll give it a few more days to be sure.