Skip to content

Why doesn't React on Rails hydrate at the DOMContentLoaded event? #1665

Discussion options

You must be logged in to vote

@kotarella1110 We already implemented an approach similar to your approach here #1656. The PR will be merged very soon. But for backward compatibility, you need to pass force_load: true on the server side for any component you want to hydrate immediately.

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@kotarella1110
Comment options

@Judahmeek
Comment options

@kotarella1110
Comment options

@AbanoubGhadban
Comment options

Answer selected by Judahmeek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants