You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prefer using direct destructuring imports ( example: import { Component } from 'react'), it is a good practice for improving readability and all the methods of React will not be imported and only import Component or Fragment methods. #### Example - The non-preferred way : ```js import React from …
Occurrences
There are 2 occurrences of this issue in the repository.
Description
Prefer using direct destructuring imports ( example:
import { Component } from 'react'
), it is a good practice for improving readability and all the methods ofReact
will not be imported and only importComponent
orFragment
methods. #### Example - The non-preferred way : ```js import React from …Occurrences
There are 2 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/paisidevs/the-react-app/issue/JS-D011/occurrences/
The text was updated successfully, but these errors were encountered: