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

DRYing bootstrapping code in ./src/index.js and ./src/about.js #20

Open
anurtayev opened this issue Jun 10, 2016 · 2 comments
Open

DRYing bootstrapping code in ./src/index.js and ./src/about.js #20

anurtayev opened this issue Jun 10, 2016 · 2 comments

Comments

@anurtayev
Copy link

Code in both files mentioned seems very redundant. Sorry if I'm missing important architectural webpack nuance, but it seems to me it can be either moved to on common file or pushed down to index.js in root folder.

@alkhe
Copy link
Owner

alkhe commented Jun 13, 2016

I do agree that it's not optimal. Hot-reloading is one of the most important features of cyc, however, and this is basically the most succinct way I've found to implement it without losing flexibility. If you have any ideas, I'd be more than happy to hear them.

@anurtayev
Copy link
Author

have a strong feeling it can be done. don't know how... will get back once have anything to say.

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

No branches or pull requests

2 participants