import react Component in consistent way across the application

XMLWordPrintable

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

      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

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: