KL
banner
liangkui.bsky.social
KL
@liangkui.bsky.social
I think it depends on what you think of the organization of your projects. If you treat a folder as a module, then it’s better to have a barrel file to list exported public apis and hidden private apis. If the folder is use to store some utils or misc functions, there is no need to do so.
December 5, 2024 at 4:30 AM