Skip to content

fixes to support React.StrictMode#512

Merged
christopherthielen merged 2 commits intoui-router:masterfrom
wallzero:master
Sep 4, 2019
Merged

fixes to support React.StrictMode#512
christopherthielen merged 2 commits intoui-router:masterfrom
wallzero:master

Conversation

@wallzero
Copy link
Copy Markdown
Contributor

@wallzero wallzero commented Sep 4, 2019

resolves issue #463
repeat of PR #499

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

@christopherthielen christopherthielen merged commit cd8777a into ui-router:master Sep 4, 2019
@kirstenOtting
Copy link
Copy Markdown

Thanks for these fixes!This resolves console warnings in React 16.9
@christopherthielen any chance a release can be cut including this soon?

@christopherthielen
Copy link
Copy Markdown
Member

@shadesofkae https://github.com/ui-router/react/releases/tag/0.8.10

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.

4 participants