---
title: "Jest 26, JS one liners, and comparing Ember to React"
publication: "JavaScript Weekly"
issue: 487
published_at: "2020-05-08"
canonical_url: "https://javascriptweekly.com/issues/487"
---

Plus more JavaScript links, tutorials, and projects.       

#487 — May 8, 2020 

[Unsubscribe](https://javascriptweekly.com/leave/*|UID|*):[Read on the Web](https://javascriptweekly.com/issues/487)   

JavaScript Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/v1588954456/xeujpjzbpxfv4wucmg2n.png)](https://jestjs.io/blog/2020/05/05/jest-26)  

[Jest 26 Released: The Popular Testing Framework](https://jestjs.io/blog/2020/05/05/jest-26) — Jest is a popular testing framework that works with pretty much everything. This release focuses on getting the dependency count and install size down (this causes some breaking changes, unsurprisingly), adds a new fake timer implementation, drops Node 8 support, and initial, _experimental_ ESM support to play with. 

Christoph Nakazawa   

[1LOC: A Collection of One-Line JS Snippets](https://1loc.dev/) — A neat little collection of vanilla JavaScript one-liners divided into various categories (arrays, date/time, checking objects, DOM work, etc.) You can submit your own for inclusion too. 

Nguyen Huu Phuoc   [![\](https://copm.s3.amazonaws.com/b25178f4.jpg)](https://frontendmasters.com/courses/hardcore-js-v2/?utm_source=jsweekly&utm_medium=email&utm_campaign=javascriptv2) 

[Hardcore Functional Programming in JavaScript](https://frontendmasters.com/courses/hardcore-js-v2/?utm_source=jsweekly&utm_medium=email&utm_campaign=javascriptv2) — Brian Lonsdorf teaches you functional programming concepts in JavaScript such as pure functions, currying, composition, functors, monads and more. 

Frontend Masters sponsor   

[Comparing Ember Octane and React](https://www.pzuraq.com/comparing-ember-octane-and-react/) — This is about as detailed a comparison as you could hope for and a demonstration of just how much [Ember](https://emberjs.com/) contributes to the JavaScript ecosystem. [Octane](https://emberjs.com/editions/octane/) really kicks things up a notch for Ember, too. 

Chris Garrett   

[Deno 1.0 is Due Next Week: Here's What You Need to Know](https://blog.logrocket.com/deno-1-0-what-you-need-to-know/) — In 2018 Node's creator Ryan Dahl told us [10 Things I Regret About Node.js](https://www.youtube.com/watch?v=M3BM9TB-8yA) and revealed a prototype of _Deno_, a new V8-based runtime, and here's what you need to know about it. Short of time? [This two-minute video](https://www.youtube.com/watch?v=F0G9lZ7gecE) sums up the biggest wins quickly. 

David Else     [![\](https://denoweekly.com/images/deno-logo.png?x)](https://denoweekly.com/) 

**Our newest newsletter..** 

Carrying on from the Deno item above, yes, we've started [Deno Weekly](https://denoweekly.com/), a new newsletter dedicated to the newest runtime in the JavaScript/TypeScript world. Issue 2 goes out just after 1.0 is released next week. 

Even if you don't stick with Deno long term, feel free to subscribe then unsubscribe at any time — we won't take offence 😄 

[Subscribe to Deno Weekly here](https://denoweekly.com/) or [enjoy issue 1 here.](https://denoweekly.com/issues/1)   

💻 Jobs  

[JavaScript Developer at X-Team (Remote)](https://x-team.com/remote-javascript-developer-jobs/?utm_source=cooperpress&utm_medium=email-ad&utm_campaign=js) — Join X-Team and work on projects for companies like Riot Games, FOX, Coinbase, and more. Work from anywhere. 

X-Team   

[Find a Job Through Vettery](https://www.vettery.com/tech?utm_source=newsletter&utm_medium=cooper-javascriptweekly&utm_term=tech&utm_content=grouped&utm_campaign=ad-77584) — Vettery specializes in tech roles and is completely free for job seekers. Create a profile to get started. 

Vettery  

📚 Tutorials  

[Debug Anything: The Basics](https://charlesagile.com/debug-series-nodejs-browser-javascript) — A six part series (all ready to read now) on debugging your JavaScript and TypeScript code with the debugger built into Visual Studio Code. 

Charles Szilagyi   

[How To Build a Vue Survey App Using Firebase](https://www.smashingmagazine.com/2020/05/vue-survey-app-firebase-authentication-database/) — A step-by-step guide to building a functional survey app using Vue.js and Firebase for both authentication and as a database. 

David Atanda   

[A Brief Look at ES2020's `Promise.any`](https://mariosfakiolas.com/blog/es2020-promise-any/) — When you need to know when at least 1 promise got resolved among an iterable of `Promise` objects, **Promise.any()** is the solution. 

Marios Fakiolas   

[ES2020: Everything You Need to Know](https://www.martinmck.com/posts/es2020-everything-you-need-to-know/) — An ES2020 roundup! 

Martin McKeaveney   

[Git Best Practices for SOC 2 Compliance Quick Wins](https://try.datree.io/soc2-compliance-git-guide?utm_source=cooperpress&utm_medium=jsweekly) — Get quick wins for your SOC 2 compliance audit, and raise developer productivity at the same time. 

Datree.io sponsor   

[Building a Crossword Puzzle Generator](https://mitchum.blog/building-a-crossword-puzzle-generator-with-javascript/) — As a NY Times crossword addict, I _love_ a good crossword, but if you’d rather figure out how to make your computer solve them, be my guest 😄 This post guides you on how to approach the problem. 

Mitchum   

[Getting Started with Sapper and Svelte](https://chrisboakes.com/getting-started-with-sapper-and-svelte/) — [Sapper](https://sapper.svelte.dev/) is a Svelte-powered framework. 

Chris Boakes   

[A ES2015+ Cheatsheet](https://devhints.io/es6) — A one-page guide to ES2015+ features based around brief example snippets. 

Devhints.io   

[How to Fix ESLint Errors Upon Save in VS Code](https://davidwalsh.name/eslint-vscode) — A quick-fire tip. 

David Walsh   

[How to Build a Blog with Next 9.3, Netlify, and Markdown](https://www.netlify.com/blog/2020/05/04/building-a-markdown-blog-with-next-9.3-and-netlify/) — Learn how to build a Next.js-powered Markdown blog and deploy it to the Netlify platform. 

Cassidy Williams   

[A Canvas Engine Comparison: PixiJS vs Two.js vs Paper.js](https://benchmarks.slaylines.io/) — A benchmark of three popular 2D rendering engines/drawing APIs. _Note: This will tax your system._ 

SlayLines   

🎉 BTW, if you like videos, we need to shout out [Florin Pop's YouTube channel](https://www.youtube.com/channel/UCeU-1X402kT-JlLdAitxSMA/) as he's just passed 20k subscribers by posting neat JavaScript videos and live streams nearly every day for the past six months! 😁 Lots of great stuff on there for JavaScript developers of all skill levels. 

🔧 Code & Tools 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/iugdtckn0zsma7chxry2.jpg)](https://github.com/daybrush/selecto)   

[Selecto.js: Make Elements Selectable Within an Area](https://github.com/daybrush/selecto) — Let’s say you have a number of elements that represent choices, data, whatever, and you want users to be able to select a subset of them by clicking/pointing and dragging. That’s what this does. [Live examples here](https://daybrush.com/selecto/storybook/?path=/story/selecto--welcome). 

Daybrush (Younkue Choi)   

[Visual Studio Code April 2020 Released](https://code.visualstudio.com/updates/v1_45) — Probably the most widely used editor in the JavaScript space now and April brings some neat new features like [being able to work on GitHub issues within the editor](https://code.visualstudio.com/blogs/2020/05/06/github-issues-integration). 

Microsoft   

[Stream Chat API & JavaScript SDK for Custom Chat Apps](https://getstream.io/chat/?utm_campaign=2020_05_08_javascriptweekly&utm_medium=promoted_newsletter&utm_source=javascriptweeklypromoted) — Build real-time chat in less time. Rapidly ship in-app messaging with our highly reliable chat infrastructure. 

Stream sponsor   

[Majestic 1.7: A Zero Config GUI for Jest](https://github.com/Raathigesh/majestic) — A tool to help make your JavaScript testing life a little easier. Run `npx majestic` in the folder of any project that uses Jest to give it a quick try. 

Raathi Kugarajan   

[Pico: Take Browser Screenshots Client-Side with JavaScript](https://github.com/gripeless/pico#readme) — Different from capturing a webpage using Puppeteer or a similar tool in that the screenshot taking happens **entirely client side.** 

Gripeless   

[React Flow: A Library for Rendering Interactive Graphs](https://webkid.io/blog/react-flow-node-based-graph-library/) — If you have a need to lay out graphs in a visual way and be able to smoothly pan and zoom around such graphs, this is an interesting new library. [Live demo here](https://react-flow.netlify.app/). 

Moritz Klack   

[MongoDB Is Easy. Now Make It Powerful. Free Download for 30 Days.](https://studio3t.com/download/?utm_source=cooper&utm_medium=newsletter&utm_campaign=jswmay08) 

Studio 3T sponsor   

[NeutralinoJS: Build Cross-Platform Apps Using JS, HTML and CSS](https://github.com/neutralinojs/neutralinojs) — Sounds just like Electron, right? Not quite. NeutralinoJS use less memory and [are smaller](https://github.com/neutralinojs/evaluation) as they don’t ship a full browser inside. [1.4.0 just dropped](https://github.com/neutralinojs/neutralinojs/releases/tag/v1.4.0). 

Neutralinojs   

[Slugify 1.0: Simply Turns Strings into URL/Filename-Friendly 'Slugs'](https://github.com/sindresorhus/slugify) — e.g. ‘I ♥ Dogs’ becomes ‘i-love-dogs’. It deals with some non-Latin scripts too. 

Sindre Sorhus   

[RxJS Primitives: A Set of Libraries That Provide Operators for RxJS](https://tanepiper.github.io/rxjs-primitives/) 

Tane Piper     

**⚡️ Quick releases:** 

- [Madge 3.9](https://github.com/pahen/madge) — Plot graphs of your module dependencies.
- [Glider 1.7.2](https://nickpiscitelli.github.io/Glider.js/) — Dependency-free carousel alternative.
- [vue-virtual-scroll-list 2.2](https://github.com/tangbc/vue-virtual-scroll-list) — High performance large list rendering.
- [Pickr 1.6](https://github.com/Simonwep/pickr) — Color picker, now with i18n support.
- [vue-test-utils 1.0](https://github.com/vuejs/vue-test-utils/releases/tag/v1.0.0) — Official Vue.js testing utilities.
- [Espree 7.0](https://github.com/eslint/espree) — Esprima-compatible JavaScript parser.          

Published by [Cooperpress](https://cooperpress.com/) and edited by [Peter Cooper](https://twitter.com/peterc) 

'JavaScript' is a trademark of Oracle Corporation in the US
We are not endorsed by or affiliated with Oracle. 

[Change your email address](https://javascriptweekly.com/edit_subscription/*|UID|*) or [stop getting this newsletter](https://javascriptweekly.com/leave/*|UID|*). 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
