1. Console logging done right 2. Timer for code 3. Tracing function calls When we want to see where the code was trigerred it shows where the code was defined (VM227:1) and where it was called (VM227:3) and (VM227:4). 4. How to display properties of an object in a more concise way STANDARD WAY: BETTERContinue reading “JavaScript – quick tips #1”
Tag Archives: javascript
Symfony Webpack encore going from global variables to webpack js management and node packages
Going from a JS strewn over the project to a single app.js and app.css that will hold all the dependencies and webpack which is going to manage this in an efficient manner. Modules in JS – importing, exporting. Why is it a first step to managing node_module as in PHP’s composer When importing the moduleContinue reading “Symfony Webpack encore going from global variables to webpack js management and node packages”