eisisig / react-isolate

React Component Isolation Playground
11 stars 0 forks source link

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

Closed jsergiu closed 8 years ago

jsergiu commented 8 years ago

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 8 years ago

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 8 years ago

No fix needed.