If you ever made a website, it probably contained some assets like images, CSS and JavaScript. In order for a page to be fast, it’s a good idea to concatenate all your JavaScript assets into one file and all your CSS assets into another. Caching might also be tricky…
As no release is perfect, the devs will focus on resolving the most immediate issues that arise. In addition, they’ll also continue to improve the new documentation site.
When a browser receives the HTML response for a page from the server, there are a lot of steps to be taken before pixels are drawn on the screen. This sequence the browsers needs to run through for the initial paint of the page is called the "Critical Rendering Path".
Let’s say you have a JavaScript module that you want to publish to npm, available both for Node and for the browser. But there’s a catch! This particular module has a slightly different implementation for the Node version compared to the browser version...
Webpack is probably the most contentious tool on the frontend web right now. It’s the most popular module bundler, but a lot of new users find it hard to use.
Tasks must be repeated every time you make a change. You may start with good intentions but the most infallible developer will forget to compress an image or two. Over time, pre-production tasks become increasingly arduous and time-consuming; you’ll dread the inevitable content and template changes. It’s mind-numbing, repetitive work. Would it be better to spend your time on more profitable jobs?
This step-by-step, interactive tutorial teaches you the basic workflow for debugging JavaScript in Chrome DevTools. The tutorial shows you how to debug one specific issue, but the general workflow you learn is helpful for debugging all types of JavaScript bugs.
This article is about making efficient use of docker layers. As a side effect we’ll see how to reduce development and debugging time for Node.js applications hosted in Docker containers.
We hope you enjoyed reading this week's issue of #FrontendCookies. If you like our newsletter, refer it to a friend or colleague.