Closed deepsource-autofix[bot] closed 5 months ago
Here's the code health analysis summary for commits cd3569d..0149b4f
. View details on DeepSource β.
Analyzer | Status | Summary | Link |
---|---|---|---|
JavaScript | β Success | π― 1 occurence resolved | View Check β |
π‘ If youβre a repository administrator, you can configure the quality gates from the settings.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Components without children can be self-closed to avoid the unnecessary extra closing tag. In JSX, closing tags are required when the component has children example
<MyComponent>...</MyComponent>
and if there are no child component between these tags, then this component can be self closed using<MyComponent />
. It is recommended as it improves readability, and it is more compact to use self-closing for these types of components.