JavaScript Icon

JavaScript

JavaScript is an object-oriented programming language used alongside HTML and CSS to give functionality to web pages.
768 Stories
All Topics

freeCodeCamp Icon freeCodeCamp

So long Meetup, and thanks for all the pizza

Meetup hiked their prices in a way that shifts the burden off the organizers and on to the participants. They’ve received enough blow back from this change that it wouldn’t surprise me if they adjust (or revert) course, but it may be too late. The open source community is already on the move. This will be a self-hosted Docker image that you can one-click deploy to the cloud, then configure through an admin panel. No coding required. Quincy and the freeCodeCamp team don’t have much more than a README and a schema right now, but objects in motion tend to stay in motion. It’s a great time to jump in and contribute. ✊

read more

Philip Walton philipwalton.com

Cascading cache invalidation

Turns out one of our asset caching best practices (content hashes in filenames + far-future expiry) has a serious flaws in it: In practice, changes to one of your source files almost always invalidates more than one of your output files—and this happens because you’ve added revision hashes to your filenames. Philip goes on to explain why this happens and then proposes 3 possible solutions. Good stuff 👌

read more

JS Party JS Party #96

Performant Node desktop apps with NodeGui

What if you could have an Electron-like app framework without the Chromium dependency and resulting performance woes? Well, now you can. NodeGui is a Qt5-powered, cross-platform, native app GUI framework for JavaScript with CSS-like styling. In this episode, Jerod and Nick sit down with Atul –author of NodeGUI and NodeGUI React– to learn about this exciting framework. We ask him a zillion and one questions about it.

read more

The Changelog The Changelog #364

Maintainer spotlight! Valeri Karpov

In this episode we’re shining our maintainer spotlight on Valeri Karpov. Val has been the solo maintainer of Mongoose since 2014. This episode with Val continues our maintainer spotlight series where we dig deep into the life of an open source software maintainer. We’re producing this series in partnership with Tidelift. Huge thanks to Tidelift for making this series possible.

read more

JavaScript levelup.gitconnected.com

Moving beyond console.log() — 8 console methods you should use when debugging JS and Node

When talking about the Console API, newbies usually use only some functions like 👌console.log(), ⚠️ console.warn(), or ❌ console.error() to debug their application, while often there are many other methods which can perfectly implement our requirements and improve debugging efficiency. Guilty! ✋ This article is made to expose some of the most interesting console methods with related examples that I use while teaching at Codeworks. So let’s see a list of the 8 best functions from the Console module! I have used console.table a few times (totally rad), but there’s plenty of functions here that I haven’t been using (and definitely should be).

read more

Kyle Mathews gatsbyjs.org

Gatsby raised $15M in a Series A funding round

Congrats @KyleMathews and team, wow. Why the excitement and growth? The answer is simple. Gatsby was founded around a big idea, and that idea is starting to go mainstream. We believe that the basic architecture of websites is being reinvented. The dominant web architecture, the LAMP stack, was founded at the dawn of the web before paradigm-shifting technologies were invented, like virtual machines, AWS, smartphones, Git, Node/NPM, React, and Serverless—elements of modern engineering we now take for granted. For those interested in the deeper backstory on the formation of Gatsby, check out Founders Talk #59 with Kyle Mathews (the creator of Gatsby).

read more

Conrad Irwin blog.superhuman.com

Performance metrics for blazingly fast web apps

Measure it so you can improve it, but how? …performance metrics are surprisingly challenging to get right. On the one hand, it is hard to design metrics that accurately represent the user experience. On the other hand, it is difficult to make metrics that are usefully precise. As a result, many teams cannot trust their performance data. Even with accurate and precise metrics, the data is hard to use. How do we define “fast”? How do we balance speed and consistency? How do we quickly find regressions or see the impact of optimizations?

read more

Chris Coyier CSS-Tricks

Should a website work without JavaScript?

Chris Coyier can’t help but chime in after listening to our recent debate episode of JS Party. I enjoyed all the stumbling around the terminology of “web apps” and “web sites” (web things!). This is such a weird one. It’s so easy to picture the difference in your head: it’s like facebook versus a blog! But when you start trying to define it exactly, it gets really murky really quickly and the distinction loses any value, if it had any to start with. Here’s more on that. Chris has a lot of great insights here. Whether you agree or disagree, I think we can all get on board with one thing: we make web things!

read more

ehmicky github.com

A simpler, faster alternative to `nvm run`

nve differentiates itself from nvm run because it: can be run programmatically is 10 times faster does not need a separate installation step for each Node version works on Windows does not require Bash is installed as a Node module Worth noting: this is not a full-on replacement for nvm or any other version manager. It only executes a single command with the specified Node version. But sometimes, that’s all you need. 😄

read more

0:00 / 0:00