Skip to content
This repository was archived by the owner on Mar 1, 2019. It is now read-only.
This repository was archived by the owner on Mar 1, 2019. It is now read-only.

Need to remove all usages of UNSAFE_ component methods #558

@ticky

Description

@ticky

We’re currently using a bunch of the deprecated, soon-to-be-removed methods.

It will be impossible to upgrade to React 17 if we don’t transition away from these. Most of the usages should be simple to replace with supported methods, but we do have a lot of lifecycle methods dependent on the current data flow.

Affected files:

  • /frontend/app/components/agent/Index/installation.js
  • /frontend/app/components/icons/BuildState.js
  • /frontend/app/components/job/Index/index.js
  • /frontend/app/components/job/Index/jobs.js
  • /frontend/app/components/layout/Flashes/index.js
  • /frontend/app/components/layout/Navigation/index.js
  • /frontend/app/components/layout/Navigation/MyBuilds/index.js
  • /frontend/app/components/member/Edit/form.js
  • /frontend/app/components/member/New.js
  • /frontend/app/components/organization/AgentsCount.js
  • /frontend/app/components/organization/Pipeline/graph.js
  • /frontend/app/components/organization/Pipelines.js
  • /frontend/app/components/pipeline/CreateBuildDialog.js
  • /frontend/app/components/pipeline/Header/index.js
  • /frontend/app/components/shared/Autocomplete/Dialog/index.js
  • /frontend/app/components/shared/Autocomplete/Field/index.js
  • /frontend/app/components/shared/BuildStatusDescription.js
  • /frontend/app/components/shared/CreditCardInput.js
  • /frontend/app/components/shared/Dialog.js
  • /frontend/app/components/shared/Duration.js
  • /frontend/app/components/shared/FriendlyTime.js
  • /frontend/app/components/shared/Menu/button.js
  • /frontend/app/components/shared/Menu/index.js
  • /frontend/app/components/shared/SearchField.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions