Skip to content

React out of sync #1049

Closed
Closed
@JustinCann

Description

@JustinCann

Steps to reproduce

Run rails server and start your application.
Make a change to a jsx / tsx file, and save the file.

Expected behavior

The application compiles the javascript, reloads in the browser and shows the changes.

Actual behavior

The application appears to compile the javascript, reloads in the browser and does not show the changes. It appears as though React is out of sync with the rest of the application.
After stopping and starting the server the changes appear.

System configuration

Webpacker version: 4.0
React-Rails version: 2.5
React_UJS version: 2.5.0
Rails version: 6.0.0.rc2
Ruby version: 2.6.0


In development, when making a large amount of javascript changes the application stops refreshing. It's almost as if the react changes are out of sync.
React hangs intermittently after saving a jsx / tsx file.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions