Skip to content

Add some export snippets #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

arthurdenner
Copy link
Contributor

I always tend to modulate my projects (reference), so I usually have a index.js file with something like this:

export { default as Component } from './component';
export { default as actions } from './actions';
export { default } from './reducers';
export { default as sagas } from './sagas';

I have this snippets in my VSCode, but I decided to add in this project because maybe they'll be useful to someone else.

@ice-chillios
Copy link

@arthurdenner Thanks for contributing :) I will update it immediately 💃

@ice-chillios ice-chillios merged commit 60742c0 into r5n-labs:master Nov 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants