Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
| ID | ||||||||||||
| 0053416 | ||||||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| feature request | [POS2] POS | minor | always | 2023-09-07 14:49 | 2023-09-07 14:49 | |||||||
| Reporter | Vitaliy Malets | View Status | public | |||||||||
| Assigned To | Retail | |||||||||||
| Priority | normal | Resolution | open | Fixed in Version | ||||||||
| Status | new | Fix in branch | Fixed in SCM revision | |||||||||
| Projection | none | ETA | none | Target Version | ||||||||
| OS | Any | Database | Any | Java version | ||||||||
| OS Version | Database version | Ant version | ||||||||||
| Product Version | SCM revision | |||||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | ||||||||||||
| OBNetwork customer | No | |||||||||||
| Support ticket | ||||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0053416: Remove redundant React imports | |||||||||||
| Description | We use version 17 of React. This version doesn't require to import React in each component any more. https://dev.to/titungdup/you-no-longer-need-to-import-react-from-react-3pbj [^] The official site provides a script to remove all of them from the project. https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html#removing-unused-react-imports [^] But current ESLint settings require this import. So maybe it makes sense a little bit change the ESLint config and remove all redundant imports to make the projet a bit lighter? https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html#eslint [^] | |||||||||||
| Steps To Reproduce | open any react component in the project | |||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files | ||||||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
| Copyright © 2000 - 2009 MantisBT Group |