As a newcomer to the world of JavaScript and TypeScript, I have been exporting my components like this. However, as my component list grows day by day, I feel the need to optimize the structure.
import Notification from "./Notification";
import Confirmation from "./Confirmation";
import Button from './Button';
import Input from './Input';
import Dropdown from "./Dropdown";
import Add from "./Add";
export {
Notification,
Confirmation,
Button,
Input,
Dropdown,
Add,
}
I am seeking advice on how to better organize and structure these exports using vanilla JavaScript or TypeScript techniques.