CodeHarborHub / codeharborhub.github.io

Welcome to CodeHarborHub! Our mission is to provide accessible and comprehensive educational resources to learners of all levels, from beginners to advanced professionals. Whether you're looking to kickstart your career in web development, master a new programming language, or stay updated on the latest tech trends, we've got you covered.
https://codeharborhub.github.io/
MIT License
80 stars 163 forks source link

refactor: remove extra closing tags #4420

Closed deepsource-autofix[bot] closed 1 month ago

deepsource-autofix[bot] commented 1 month ago

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.

deepsource-io[bot] commented 1 month ago

Here's the code health analysis summary for commits 829689f..c108602. View details on DeepSource β†—.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScriptβœ… Success
🎯 2 occurences resolved
View Check β†—

πŸ’‘ If you’re a repository administrator, you can configure the quality gates from the settings.
github-actions[bot] commented 1 month ago

⚑️ Lighthouse Report for the Deploy Preview of this PR πŸš€

πŸ”— Site: CodeHarborHub | Live Site

URL 🌐 Performance Accessibility Best Practices SEO πŸ“Š
/ πŸ”΄ 26 🟑 82 🟑 75 🟒 100 πŸ“„
/docs πŸ”΄ 46 🟒 90 🟒 96 🟒 100 πŸ“„
/docs/category/javascript 🟑 61 🟒 90 🟒 96 🟒 100 πŸ“„
/courses πŸ”΄ 49 🟒 90 🟒 96 🟒 100 πŸ“„
/courses/category/reactjs 🟑 64 🟒 90 🟒 96 🟒 100 πŸ“„
/dsa-problems 🟑 52 🟒 90 🟒 96 🟒 100 πŸ“„
/dsa-problems/category/leetcode-problems 🟑 56 🟒 90 🟒 96 🟒 100 πŸ“„
/dsa-solutions 🟑 52 🟒 90 🟒 96 🟒 100 πŸ“„
/dsa-solutions/category/leetcode-solutions 🟑 62 🟒 90 🟒 96 🟒 100 πŸ“„
/blog 🟑 52 🟒 90 🟒 96 🟑 86 πŸ“„
/showcase 🟑 51 🟒 91 🟑 75 🟑 86 πŸ“„
/community 🟑 53 🟒 90 🟒 96 🟒 100 πŸ“„
/docs/tags 🟑 56 🟒 90 🟒 96 🟑 86 πŸ“„