Skip to content

Fix issues when using React.StrictMode#499

Closed
wallzero wants to merge 5 commits intoui-router:masterfrom
wallzero:master
Closed

Fix issues when using React.StrictMode#499
wallzero wants to merge 5 commits intoui-router:masterfrom
wallzero:master

Conversation

@wallzero
Copy link
Copy Markdown
Contributor

In anticipation for React suspense and concurrent mode, it is advisable to test with <React.StrictMode> and resolve any issues.

  • Wrap example in <React.StrictMode>
  • Switch componentWillMount to componentDidMount
  • Switch UIRouter component constructor to componentDidMount
  • fix minor build and test issues

@wallzero
Copy link
Copy Markdown
Contributor Author

Resolves #463

@christopherthielen
Copy link
Copy Markdown
Member

@wallzero can you rebase this against the latest master? I updated a few dependencies

@wallzero
Copy link
Copy Markdown
Contributor Author

wallzero commented Sep 4, 2019

Okay it should be synced with master now.

@christopherthielen
Copy link
Copy Markdown
Member

hmm, github is telling me that it can't be rebased due to conflicts 🤔

Worst case, we can always make a new branch/PR and cherry pick your commits

@wallzero
Copy link
Copy Markdown
Contributor Author

wallzero commented Sep 4, 2019

Okay I'll do that

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