Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-2915

import react Component in consistent way across the application

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: frontend
    • Labels:
      None

      Description

      Context:
      Sometimes we import Component like this:

      import React, {Component} from 'react'
      ...extends Component ...
      

      and other times like this:

      import React from 'react'
      ...extends React.Component...
      

      We should be consistent and use the same method everywhere

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            omran.abazeed Omran Abazeed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: