Best of JavaScriptJune 2023

  1. 1
    Article
    Avatar of communityCommunity Picks·3y

    Patterns

    A collection of animation techniques built using CSS or JavaScript with considerations for accessibility and user preferences. You can use the code in these examples to help ensure your projects stay on the right track. This collection includes patterns that are often tricky to implement without hurting your Core Web Vitals scores.

  2. 2
    Article
    Avatar of devtoDEV·3y

    Build a Whatsapp Clone (Realtime Chat) using Next.js, Socket.io, Tailwind CSS, Node.js, Express and Prisma

    This comprehensive WhatsApp clone comes packed with a range of awesome features to give you an authentic messaging experience. The Whatsapp Clone uses Next.js, Socket.io, Tailwind CSS, Node.js and Express and Prisma - DEV Community Features of the WhatsApp Clone.

  3. 3
    Article
    Avatar of medium_jsMedium·3y

    JavaScript Shorthand Techniques — Ultimate Cheat-Sheet

    Learn JavaScript shorthand techniques, including the Ternary Operator, short-circuit evaluation, default parameter values, object property shorthand, destructuring assignment, arrow functions, template literals, and array methods.

  4. 4
    Article
    Avatar of phProduct Hunt·3y

    chatgpt.js - 🤖 A powerful client-side JavaScript library for ChatGPT

    chatgpt.js is a powerful client-side JavaScript library for ChatGPT. "We'd really love to know if our site makes a good first impression," says Product Hunt.

  5. 5
    Article
    Avatar of communityCommunity Picks·3y

    Say Goodbye to Spread Operator: Use Default Composer

    " default-composer" is a lightweight JavaScript library that allows you to set default values for nested objects. The library replaces empty strings/arrays/objects, null, or undefined values in an existing object with the defined default values. This helps simplify programming logic and reduce the amount of code needed to set the default values.

  6. 6
    Article
    Avatar of dzDZone·3y

    Best Practices for Writing Unit Tests

    Unit tests are crucial in software development as they aid in bug detection, code refactoring, documentation, and regression prevention. They allow developers to verify the correctness of individual code units, such as functions, methods, or classes. Join the DZone community and get the full member experience.

  7. 7
    Article
    Avatar of communityCommunity Picks·3y

    The Cost Of JavaScript - 2023

  8. 8
    Article
    Avatar of amplicationAmplication·3y

    Node.js Development: All You Need to Know

    Node.js can be considered a future-proof technology that every developer should know. It allows developers to use JavaScript on both the frontend and backend, making it the perfect choice for building scalable, high-performance applications. It was introduced in 2009 and revolutionalized the development world since it allowed developers to run JavaScript outside web browsers.

  9. 9
    Article
    Avatar of hackernoonHacker Noon·3y

    Top TypeScript Utility Functions You Need to Know

    TypeScript brings powerful static type checking and expressive types. One of the key strengths of TypeScript is its extensive collection of utility functions. In this blog post, we will explore some of the most useful TypeScript utility functions that can greatly improve your programming experience.

  10. 10
    Article
    Avatar of amplicationAmplication·3y

    Why We Chose Node.js Over Deno?

    Node.js was the de-facto standard for writing server-side JavaScript apps in the 2010s. Ryan Dahl introduced Deno in 2018 in his controversial JSConf EU talk titled "10 Things I Regret About Node.JS" This article gives an overview of the platforms, history, performance, security, and all other critical features.

  11. 11
    Article
    Avatar of medium_jsMedium·3y

    Advantages of Node.js

    Node.js is a powerful, lightweight, and efficient JavaScript runtime that allows developers to write server-side and client-side code using the same programming language. It has advantages such as asynchronous and non-blocking operations, fast execution, and access to a vast ecosystem of open-source libraries. To become a Node.js developer, one should first master JavaScript fundamentals, then learn Node.js basics, explore the Express.js framework, and deep dive into asynchronous programming.

  12. 12
    Article
    Avatar of ossphsOSSPH·3y

    11 Lesser-Known HTML Tags That Can Enhance Your Web Development Skills

    These tags are not widely known, but can be incredibly handy in specific circumstances. Jackson Sophat/ Unsplash HTML (Hypertext Markup Language) is the backbone of web development. Here are some uncommon and unique HTML tags that you may not be aware of but can bring added value to your web development projects.

  13. 13
    Article
    Avatar of tilThis is Learning·3y

    WebSockets 101

    HTTP is basically a uni-directional protocol wherein a client sends a request to the server, the server accepts the request and sends a. The server can't send a response for which no request has been made by the client. This type of behavior poses a problem for real-time applications.

  14. 14
    Article
    Avatar of communityCommunity Picks·3y

    Best Animation Libraries For React🎉

    React-spring is a spring-physics-based animation library that should cover most of your UI-related animation needs. Framer Motion is a production-ready motion library for React. Green Sock has over 5,500 GitHub stars and 54k weekly NPM downloads.

  15. 15
    Article
    Avatar of communityCommunity Picks·3y

    Animating Tailwind Transitions on Page Load

    The only problem is that you can't implement animations using the transition classes alone. In this tutorial, you will learn how we can solve this with some simple javascript.

  16. 16
    Article
    Avatar of tshThe Software House·3y

    Why use Node.js? 7 examples of popular Node.js apps

    Node.js is one of the biggest sweethearts of backend development in the U.S. It's widely used especially in the start-up kingdom of Silicon Valley. It’s no wonder that over 175,398 web apps (some of them being THE biggest players on the market) already put node.js on their backend.

  17. 17
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    Front End JavaScript Development Handbook – React, Angular, and Vue Compared

    Frontend frameworks offer structured approaches and pre-built components to streamline the coding process. These tools can help boost productivity by offering reusable components and abstracting complex tasks like DOM manipulation and state management. Frameworks promote code maintainability through modular development, making it easier to modify or replace individual components.

  18. 18
    Article
    Avatar of tshThe Software House·3y

    JavaScript dependency injection in Node.js – introduction

    JavaScript dependency injection in Node.js is a well-known technique, which can make it much easier to produce independent and scalable modules. It can be used in many programming languages and frameworks, but not as popular as they could be. The service is no longer paired with a repository module but requires to be passed to it.

  19. 19
    Article
    Avatar of amplicationAmplication·3y

    5 Different Tools to Bundle Node.js Apps

    Bundling combines multiple files or modules into a single file or a set of files. This process allows developers to efficiently manage dependencies and simplify the deployments while improving the overall performance of their applications. This article will explore 5 tools and techniques to help you bundle your Node.js application effectively.

  20. 20
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    How Promises Work in JavaScript – A Comprehensive Beginner's Guide

    JavaScript has the ability to carry out asynchronous instructions. These instructions run in the background until they have finished processing. Asynchronous instructions do not stop the JavaScript engine from actively accepting and processing more instructions. To work with promises, you must adopt a special syntax that makes writing async instructions a lot more organized.

  21. 21
    Article
    Avatar of denoDeno·3y

    CommonJS is hurting JavaScript

    CommonJS is hurting JavaScript, the undisputed king of web development, is being sabotaged by its own baggage from the past. This insidious saboteur is none other than CommonJS, the antique module system that we’ve tolerated for far too long.

  22. 22
    Article
    Avatar of asayerasayer·3y

    Removing unused CSS with PurgeCSS

    Unused CSS is one of the most common problems that can negatively impact website performance. This article will introduce you to PurgeCSS, a tool that can minimize the CSS sent to the browser. Let’s learn what Purge CSS is, how it works, and how to configure it in a Next.js app.

  23. 23
    Article
    Avatar of dhhDavid Heinemeier Hansson·3y

    Design for the web without Figma

    Design for the web without Figma is an intermediary abstraction, like Photoshop before it. This is perhaps the biggest, open secret to the productivity and viability of software companies. Designers should treat improving their skills with HTML, CSS, JavaScript, and perhaps even the backend language as a key plank.

  24. 24
    Article
    Avatar of phProduct Hunt·3y

    Impossible.js - Build Terminal Apps in JavaScript

    "If so and assuming this will NOT go the OSS/MIT route, what licensing scheme might work for you?" asks Product Hunt. "Any specific interest in developing such apps? Any specific reason to prefer doing it in JS ( Node.js)?

  25. 25
    Article
    Avatar of communityCommunity Picks·3y

    The Complete Guide to Becoming a Web Developer: Part 3

    The Document Object Model, or DOM, is a programming interface for HTML and XML documents. When you load a web page, the browser fetches the HTML and parses it, creating the DOM. This DOM is stored in the browser’s memory, not as a string, but as a set of interconnected objects.