eisisig/react-isolate

Load only the main component js file from the component's folder

Closed this issue · 2 comments

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

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

No fix needed.