Added a new index.js file with every component to allow developers to import components like import SampleComponent from '../SampleComponent'; instead of import SampleComponent from '../SampleComponent/SampleComponent';
This pattern allows us to make modules of the components in future.
Added a new
index.js
file with every component to allow developers to import components likeimport SampleComponent from '../SampleComponent';
instead ofimport SampleComponent from '../SampleComponent/SampleComponent';
This pattern allows us to make modules of the components in future.