Open Sboonny opened 9 months ago
This is part of best practices and UI components rework, when the UI component is moved to its own library.
Creating a file that store the components export is fine in /learn, because of bundlers handling tree shaking.
Bundlers can't do tree shaking with external libraries, it doesn't apply in runtime.
There are multiple ways to handle them:
can I work on this issue?
This is part of best practices and UI components rework, when the UI component is moved to its own library.
Creating a file that store the components export is fine in /learn, because of bundlers handling tree shaking.
Bundlers can't do tree shaking with external libraries, it doesn't apply in runtime.
There are multiple ways to handle them: