Skip to content
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

Organize code with modules (and learn more about modules!) #10

Open
LearningNerd opened this issue Jun 28, 2017 · 0 comments
Open

Organize code with modules (and learn more about modules!) #10

LearningNerd opened this issue Jun 28, 2017 · 0 comments

Comments

@LearningNerd
Copy link
Member

Both server.js and local.js are large enough files now that I often find myself wasting time just scrolling through the code to find what I'm looking for. (I use my text editor's search function all the time, but it's still more tedious than it needs to be!) So it's definitely time to break up my code into separate files.

I've been meaning to learn more about using modules with NodeJS and in client-side code with the new export/import feature, transpiling into Babel or using some build tool to recombine all the JavaScript files for production.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant