Closed deveshjadon98 closed 6 years ago
@deveshjadon98 Please do not commit package-lock.json files with this PR.
Adding it to gitignore
@deveshjadon98 package-lock.json is needed in the repo, we cannot git ignore it. You just have to remove the package-lock.json files from the commits, leave gitignore as it is. If you need help on how to do this, feel free to ask me.
@anantoghosh sure, i will make sure to not commit package-lock.json.
Changes done, please check.
@deveshjadon98 I hope you made sure things are working as they were before :) Please acknowledge and I will merge this PR.
@skyshader yes i have, i tried using SampleComponent in App it worked fine.
Reverted this since it breaks the build. @deveshjadon98 please check once before acknowledging for future PRs.
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.