SketchpunkLabs | Fun WebGL 2 : 042 : ES6 Modules and Refactoring Fungi @SketchpunkLabs | Uploaded 7 years ago | Updated 2 days ago
Taking time out of webGL to explore module support that has been released on chrome v61. This new feature set creates a new way to write and organize javascript code. One of the best things about it is that it makes it easier to manage large code bases. After showing how modules works and some issues to look out for, we then explore how fungi has been refactored as a module library using this new feature.
=====================================================
### Links of Interest
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import
=====================================================
GitHub :: https://github.com/sketchpunk/FunWithWebGL2
Patreon :: https://www.patreon.com/sketchpunk
Tumblr :: http://sketchpunklabs.tumblr.com/
Taking time out of webGL to explore module support that has been released on chrome v61. This new feature set creates a new way to write and organize javascript code. One of the best things about it is that it makes it easier to manage large code bases. After showing how modules works and some issues to look out for, we then explore how fungi has been refactored as a module library using this new feature.
=====================================================
### Links of Interest
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import
=====================================================
GitHub :: https://github.com/sketchpunk/FunWithWebGL2
Patreon :: https://www.patreon.com/sketchpunk
Tumblr :: http://sketchpunklabs.tumblr.com/