gitpoint/git-point

Replace deprecated React lifecycle methods

Open

#887 opened on Aug 27, 2019

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (4,684 stars) (837 forks)batch import
help wanted

Description

As suggested in https://github.com/gitpoint/git-point/pull/862#issuecomment-524167180, and more potential problems can be discovered by StrictMode.

  • componentWillMount
    • user/screens/starred-repository-list.screen.js
  • componentWillReceiveProps
    • auth/screens/events.screen.js
    • auth/screens/language-setting.screen.js
    • auth/screens/user-options.screen.js
    • notifications/screens/notifications.screen.js
    • organization/screens/organization-profile.screen.js
  • componentWillUpdate
    • None

Contributor guide