Skip to content

Conversation

@KuzminIvan232
Copy link

Bootstrap component imports in CustomerDetails.js and Customers.js files have been refactored. Outdated import syntax (‘react-bootstrap/lib/...’) has been replaced with modern syntax (e.g., import { Panel } from ‘react-bootstrap’). This eliminates the “code smell” of “unnecessary dependencies” and ensures that Tree Shaking (removing unused code) works correctly, resulting in a smaller final JavaScript bundle and improved loading performance.

Translated with DeepL.com (free version)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant