Load only the main component js file from the component's folder
Closed this issue · 2 comments
jsergiu commented
Having more than one js files in the component folder causes issues with the sidebar and loaded fixtures.
Example:
If I have something like this:
src/component/MyList/MyList.js
src/component/MyList/MyListItem.js <-- sometime this is loaded even if is not the main component
jsergiu commented
I meant to have a convention that the js filename is the same as the folder and only the main js file shall be loaded as a component. Working on it
jsergiu commented
No fix needed.