DEV Community

This Week In JavaScript
This Week In JavaScript

Posted on

NEW JavaScript Framework for real-time collaboration, Bun update fixes 40+ bugs, and more

Hello JavaScript Enthusiasts!

Welcome to another edition of "This Week in JavaScript"!

A new JavaScript Framework, an update to Bun that fixes 40+ bugs, and some TypeScript configuration hacks, along with the latest tools from Electron, Puppeteer, and more; We have a lot of things to talk about.

Let’s get right into it!

Yjs Transforms Real-Time Collaboration

Real-time collaboration has never been easier with Yjs! Whether you’re working on shared documents, multiplayer apps, or even whiteboards, Yjs takes care of syncing changes across users without any conflicts.

  • Powered by CRDTs: Yjs uses Conflict-Free Replicated Data Types to make sure multiple users’ updates merge seamlessly without any data issues.

  • Performance Boost: The latest updates focus on improving integration and performance, especially for large datasets syncing in real-time.

Yjs is becoming a must-have tool for building collaborative features!

Bun v1.1.44: Speed Up Your Workflows

The latest release of Bun is all about speed and ease of use for JavaScript developers. Version 1.1.44 brings some awesome features:

  • Bun.serve() for Frontend Apps: Build and serve frontend apps on-demand with HTML imports, simplifying how you handle static routes.

  • Seamless Frontend & Backend Integration: Serve both frontend and backend from the same server, eliminating the need for extra configuration.

  • Fast & Efficient: Serve static HTML files as routes, making integration smoother and faster.

  • Bug Fixes for Stability: 43 bug fixes bring greater stability and performance to your workflow, helping you focus on building great apps.

Bun is quickly becoming a go-to for developers wanting faster workflows and a smoother development process.

Simplify TypeScript Configuration with Dr. Axel’s Checklist

TypeScript configuration doesn’t have to be a nightmare! Dr. Axel’s tsconfig.json checklist helps developers avoid common pitfalls and streamline their setups.

  • Strict Type-Checking: Enabling strict and noImplicitAny for better code safety.

  • Efficient Code Organization: Optimizing output paths with target and outDir for an organized and error-free project.

  • Module Resolution: Simplify module resolution with settings like module and esModuleInterop.

This checklist is the perfect map through the maze of TypeScript configs!

Tools & Releases You Should Know About

Let’s take a quick look at the latest tools making waves in the JavaScript world this week!

  • Scribbler: The ultimate online playground for code experiments! Supporting JavaScript, HTML, CSS, and Markdown, Scribbler is perfect for testing ideas, visualizing data, and tinkering with code.

  • Electron 34: Now with updated Chromium, Node, and V8 engines, Electron is faster than ever! It also includes improved debugging tools for unresponsive apps and better GPU-accelerated rendering.

  • Puppeteer 24: Simplifies browser automation with its high-level API, supporting headless Chrome and Firefox control for testing, web scraping, and more.

  • Cypress 14: Enhanced compatibility with React, Angular, Svelte, Next.js, and Vite. It also supports Chrome’s latest cross-subdomain navigation, making testing faster and more reliable.

  • React-Nil 2.0: The “invisible” React renderer! Use React’s lifecycle, hooks, and context without rendering anything. Ideal for logic-only components in Node apps, or managing REST endpoints and async operations.

And that's it for the eighteenth issue of "This Week in JavaScript", brought to you by jam.dev—the tool that makes it impossible for your team to send you bad bug reports.

Feel free to share this newsletter with a fellow developer, and make sure you're subscribed to get notified about the next issue.

Until next time, happy coding!

References

Yjs: Real-time collaboration powered by CRDTs

Bun v1.1.44

Dr. Axel's tsconfig.json Checklist

Scribbler

Electron 34

Puppeteer 24

Cypress 14

React-Nil 2.0

Top comments (0)