Skip to content

Fixes client-side routing#29

Open
don-smith wants to merge 1 commit into
devfrom
fix-client-side-routing
Open

Fixes client-side routing#29
don-smith wants to merge 1 commit into
devfrom
fix-client-side-routing

Conversation

@don-smith

Copy link
Copy Markdown
Contributor

The only important change is in App.jsx where withRouter is imported and used. That fixes the routing issues we were seeing.

The cause: react-redux's connect() call prevents the state changes from 'route change' events from ever making their way to a render call. The withRouter call allows those route changes to call a render.

The other file changes are just my OCD getting the better of me 😭

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.

1 participant