JavaScript Icon

JavaScript

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

Electron github.com

Pennywise – a cross-platform app to open anything in a floating window

Sometimes you’re watching YouTube or referencing some documentation while you code and you just want that particular window to stay in view no matter what else you’re up to. This does just that (and only that). Pennywise allows you to open anything in a small floating window that always stays on top of the other applications all the time, allowing you to multitask with ease

read more...

JavaScript ably.io

WebSockets – a conceptual deep-dive

This is a nice, deep primer on WebSockets. It includes some web history, describes WebSockets in detail, and catalogs available libraries you can use to get started with them. Here’s the intro to the topic: In a nutshell, WebSockets are a thin transport layer built on top of a device’s TCP/IP stack. The intent is to provide what is essentially an as-close-to-raw-as-possible TCP communication layer to web application developers while adding a few abstractions to eliminate certain friction that would otherwise exist concerting the way the web works.

read more...

JS Party JS Party #48

Foundation foundations (live at Node + JS Interactive)

In this special episode of JS Party at Node + JS Interactive in Vancouver, KBall, Nick and Suz explore the proposed merger between the JS Foundation and the Node Foundation. They pick the brains of special guests Tierney Cyren (Node Foundation) and Dave Methvin (JS Foundation) about what’s happening with the merger, what it means for the ecosystem and for everyday JavaScript developers.

read more...

GraphQL github.com

A lightweight (and isomorphic) GraphQL client for JavaScript

GraphQL is based on a very simple HTTP transaction, which sends a request to an endpoint with query and variables. Many libraries require complex stacks to make that simple request. In any project you don’t use React, Relay, you’ll need a simpler client which manages your query and makes a simple request. Isomorphic, in case you were wondering, means it runs both on the client and the server.

read more...

JS Party JS Party #47

The nitty gritty on BitMidi

Where does Feross get all those wonderful toys? He builds them with JavaScript, of course! BitMidi – a website for listening to your favorite MIDI files – is his latest creation. In this episode, Jerod “sits down” with Feross to learn all about it. How do MIDIs even work? Why won’t they play on the web anymore? Can WASM save the day (hint: yes)? How does Feross get so many eyeballs on his creations? Is Preact awesome for building sites like this? What’s the future of BitMidi look like? Don’t ask us, listen to the episode!

read more...

Alex Buzin Hackernoon

Writing a JavaScript tweening engine with Between.js

Alex Buzin: A month ago I decided to try my skills in writing own tweening engine and here’s how I did it… Tweening, in case you’re wondering, is the process of animating an object from one position to another. You specify the start/end positions (or images) and the tweening engine handles all of the inbetween states. This post by Alex is a great way to introduce yourself to the topic.

read more...

React djangostars.com

What and how to test with Jest and Enzyme

Testing React components may be challenging for beginners and experienced developers who have already worked with tests. It may be interesting to compare your own approaches with the ones we use in our project. In order to cover the codebase, you have to know which components must be tested and which code exactly in component should be covered.

read more...

Node.js medium.com

The Node.js Foundation and JS Foundation intend to push the merge button

Hot off the press: An intent to merge means that we the boards of both Foundations have agreed to public discussions related to a possible merger. We have not made any formal decisions at this point regarding a new or merged Foundation and its potential organizational structure, governance policies, technical framework or leadership. This will be formalized based on feedback from the Node.js and JavaScript communities. There will be a panel and Q&A at Node+JS Interactive next week and you know that the JS Party crew will be there with the full coverage. 💪

read more...

React reactjs.org

Create React App 2.0 is here

Here’s a few things that are new, but “don’t feel pressured to upgrade anything.” 🎉 More styling options: you can use Sass and CSS Modules out of the box. 🐠 We updated to Babel 7, including support for the React fragment syntax and many bugfixes. 📦 We updated to webpack 4, which automatically splits JS bundles more intelligently. 🃏 We updated to Jest 23, which includes an interactive mode for reviewing snapshots. …plus 7 more updates…

read more...

Ives van Hoorne Hackernoon

CodeSandbox Containers is in beta

CodeSandbox Containers was just announced by Ives van Hoorne on Hacker Noon. Today we’re happy to announce CodeSandbox Containers. We execute your code on a server, which allows you to work on any JavaScript project that works locally. But you gotta use it so they can test things and get it right. We can only test CodeSandbox Containers fully when we have other people using it. … Please don’t use it for any project with files you don’t want publicly exposed. There’s also the chance that the service might be down because of things that we haven’t foreseen yet, in which case you’ll see a nice warning message. We will dedicate the coming months to squash every bug we can find, when we think that CodeSandbox Containers is stable enough to remove the beta warning we will announce this.

read more...

npm github.com

Find the cost of adding a new dependency to your project

Do you have packagephobia? Maybe you should… If you don’t, you just might after using this tool: Package Phobia reports the size of an npm package before you install it. This is useful for inspecting potential dependencies or devDependencies without using up precious disk space or waiting minutes for npm install. Ain’t nobody got time for dat.

read more...
0:00 / 0:00