Best of JavaScriptMay 2025

  1. 1
    Article
    Avatar of communityCommunity Picks·51w

    Just Fucking Use React

    This post argues for the use of React or similar JavaScript frameworks in modern web development, particularly for complex and interactive applications. It challenges the notion of relying solely on HTML, emphasizing that frameworks simplify state management, improve the developer experience, and enhance accessibility. Proper use of frameworks can prevent code complexity and bloat in applications with significant client-side interaction.

  2. 2
    Article
    Avatar of nuxtandvueVuejs&Nuxtjs·51w

    Best animation library is free now - GSAP

    GSAP, a popular animation library, is now freely available along with its paid plugins and add-ons. Webflow supports GSAP, making it more accessible to developers.

  3. 3
    Article
    Avatar of webdevWebDev·51w

    Best animation library is free now - GSAP

    GSAP, a renowned animation library, is now available for free along with all its plugins and add-ons. Webflow serves as the backbone of GSAP's offerings.

  4. 4
    Article
    Avatar of communityCommunity Picks·1y

    Paper.js

    Paper.js is a powerful and easy-to-use scripting framework for creating vector graphics in the browser, offering functionalities for shape creation, animation, and interaction.

  5. 5
    Article
    Avatar of freecodecampfreeCodeCamp·49w

    LeetCode Meditations: A Visualized Tour of DSA Concepts (A Handbook)

    A comprehensive handbook covering fundamental data structures and algorithms concepts through visual explanations and code examples. Topics include arrays, hash tables, two pointers technique, sliding window, stacks, binary search, linked lists, trees, heaps, and backtracking. Each concept is explained with practical implementations in JavaScript, TypeScript, and Python, along with time and space complexity analysis. The guide emphasizes understanding core principles rather than memorizing specific problem solutions.

  6. 6
    Article
    Avatar of hnHacker News·51w

    is-even-ai

    Explore the is-even-ai package which utilizes OpenAI's GPT-3.5-turbo model to check if numbers are even or odd. It offers various functions such as checking equality, greater than, and less than comparisons with examples of implementation. Users can adjust the AI model and temperature for more sophisticated uses.

  7. 7
    Article
    Avatar of freecodecampfreeCodeCamp·52w

    Learn Object-Oriented Programming in TypeScript

    Object-Oriented Programming (OOP) in TypeScript is explained by exploring language features and establishing the four fundamental principles: inheritance, polymorphism, encapsulation, and abstraction. The post discusses TypeScript constructs like classes, interfaces, and abstract classes, uses examples to illustrate key concepts, and emphasizes the importance of access modifiers and the benefits of OOP such as improved code organization and reusability.

  8. 8
    Article
    Avatar of communityCommunity Picks·49w

    React Internals Deep Dive

    A comprehensive series exploring React's internal architecture through source code analysis. Covers core concepts like fiber tree traversal, reconciliation, hooks implementation (useState, useEffect, useRef), concurrent features (Suspense, useTransition), performance optimizations (React.memo, bailout), server-side rendering, hydration, and React Server Components. Each episode provides deep technical insights into how React's features work under the hood.

  9. 9
    Article
    Avatar of freecodecampfreeCodeCamp·49w

    How Microfrontends Work: From iframes to Module Federation

    Microfrontends enable teams to build and deploy frontend applications independently at scale, moving from monolithic UIs to decoupled codebases. Traditional approaches include server-side composition, iframes, and build-time integration through packages. Module Federation represents the modern solution, allowing runtime integration of remote UI components while sharing dependencies for optimal performance. The article compares different microfrontend patterns, highlighting Module Federation's advantages in independent deployments and performance, while acknowledging setup complexity and operational challenges like cross-domain issues and styling conflicts.

  10. 10
    Video
    Avatar of huxnwebdevHuXn WebDev·49w

    Every Vue.js Concept Explained ( Complete Course )

    Vue.js is a versatile JavaScript framework that simplifies building modern web applications through a component-based structure, a large community, and its lightweight nature. This comprehensive course covers essential Vue.js concepts like components, reactivity, text interpolation, attribute bindings, computed properties, conditional rendering, slots, and more. The post explains the setup of a Vue.js project, folder structure, and demonstrates various functionalities with examples to help developers efficiently manage UI logic and improve front-end skills.

  11. 11
    Article
    Avatar of bradwoodsBrad Woods' Digital Garden·50w

    Scroll-driven camera animation

    Explore how to create scroll-driven camera animations in a web scene using three.js and GSAP. The technique involves using the intersection observer to adjust camera positions as different sections come into view. Quaternions are utilized for smooth camera rotations, preventing issues like gimbal lock. The setup allows developers to easily configure desired positions with a GUI and handles the transitions using GSAP for animation.

  12. 12
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    How to Build a Dynamic Wardrobe App with React Drag and Drop

    The post provides a step-by-step tutorial for building a dynamic wardrobe app using React with drag-and-drop functionality. It guides readers through setting up the React environment, managing states, defining color options, and implementing the drag-and-drop feature. Additionally, it covers creating the user interface using Tailwind CSS and SVGs for an interactive experience.

  13. 13
    Article
    Avatar of communityCommunity Picks·1y

    14 web performance tips for 2025

    This post offers strategic advice on web performance optimization for 2025, emphasizing the importance of understanding weaknesses before attempting fixes. It warns against common pitfalls, like excessive image optimization, and stresses the significance of using real user monitoring (RUM) data to improve metrics such as Largest Contentful Paint (LCP) and Cumulative Layout Shift (CLS). The post also highlights the role of web performance in enhancing conversion rates and urges companies to cultivate a performance culture.

  14. 14
    Article
    Avatar of infoworldInfoWorld·1y

    8 ways to do more with modern JavaScript

    The post outlines eight essential concepts to enhance JavaScript programming, including the use of 'const' for variables, understanding collections with functional operators, using promises and async/await for asynchronous tasks, and the importance of scopes and closures. It emphasizes syntax shortcuts like spread and destructuring, strategies for effective error handling, the flexibility of programming paradigms JavaScript offers, and the valuable role of AI assistance in coding.

  15. 15
    Article
    Avatar of denoDeno·50w

    A Brief History of JavaScript

    JavaScript has evolved over 30 years from a simple web scripting language to a dominant force in web development. Key moments include its creation by Brendan Eich in 1995, its standardization as ECMAScript, the rise of frameworks like jQuery and Angular, and the advent of new runtimes like Node.js and Deno. Recent developments include JavaScript in serverless computing, frameworks like React and Vue, and the continuous updates to ECMAScript standards.

  16. 16
    Video
    Avatar of joshuamoronyJoshua Morony·50w

    I actually use JavaScript generator functions

    Generator functions in JavaScript, though underutilized, are powerful tools for creating iterable sequences. This post explores their use in Motion Canvas, a library for creating animated presentations. By leveraging generators, Motion Canvas allows control over animations' timing, making scene development intuitive and flexible. The post provides a basic implementation example to understand this mechanism.

  17. 17
    Article
    Avatar of devsquadDev Squad·51w

    React Wheel Picker – iOS-like wheel picker for React

    Discover a React component that mimics the iOS wheel picker with features like smooth inertia scrolling and infinite loop support. Ideal for creating a sleek and user-friendly interface.

  18. 18
    Article
    Avatar of logrocketLogRocket·1y

    How to format dates in JavaScript: Methods, libraries, and best practices

    JavaScript date handling can be challenging due to various formats and localization issues. This guide covers the native Date API and specialized libraries like date-fns and Day.js, showing how to use them for parsing, formatting, and manipulating dates efficiently. It also discusses performance considerations and offers tips for selecting the best tool for specific use cases.

  19. 19
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    A Brief Introduction to React

    This tutorial introduces the basics of using React to build user interfaces, focusing on creating interactive, reusable components. Using code playbacks, learners can follow along with building a React app, integrating Vite for simplified project setup, and connecting to a backend using Express. The lessons cover React component creation, JSX usage, managing dynamic data with hooks, and developing a full-stack web application.

  20. 20
    Article
    Avatar of codropsCodrops·51w

    From SplitText to MorphSVG: 5 Creative Demos Using Free GSAP Plugins

    The post explores the creative potential of GSAP's newly free premium plugins through five animation demos. It provides step-by-step guides for using plugins like SplitText, MorphSVG, Inertia, DrawSVG, and Physics2D to create interactive and animated web effects, such as text smashing and glowing dot grids. These examples highlight how GSAP can enhance web design and add playful elements to user interfaces. Resources are available for further exploration on CodePen and Webflow.

  21. 21
    Article
    Avatar of freecodecampfreeCodeCamp·52w

    A Brief Introduction to Web Components

    Learn the basics of Web Components, a set of standardized browser APIs allowing the creation of custom reusable HTML elements in web applications. The tutorial includes interactive 'code playbacks' to guide you through building modular and encapsulated components for a frontend, emphasizing self-contained design and data management techniques. Key topics covered also involve comparison with React, handling custom events, and creating a complete app with authentication.

  22. 22
    Video
    Avatar of jherrJack Herrington·51w

    DON'T Use JSON.parse & JSON.stringify

    JSON.parse and JSON.stringify have limitations when dealing with certain data types, like dates, maps, and sets, and do not support comments. The post explores alternatives such as SuperJSON and Serial that provide better support for these data types. It also discusses how to handle JSON with comments using tools like JSON C parser and strip JSON comments. These solutions offer enhanced JSON handling capabilities for web development in Node.js and JavaScript.

  23. 23
    Article
    Avatar of webtoolsweeklyWeb Tools Weekly·50w

    JavaScript Utilities, AI Tools, Vue.js

    This post highlights a variety of JavaScript utilities, AI tools, and Vue.js components that help developers enhance their web applications. Key utilities include STRICH for barcode scanning and Crosspost for social media integration. AI tools featured range from OpenAPI TypeScript for code generation to Clippy for running language models locally. Vue.js components include vue-pdf-embed for PDF handling and nuxt-swiper for mobile touch sliders.

  24. 24
    Article
    Avatar of communityCommunity Picks·51w

    20 Best Web Development Tools to Improve Your Workflow

    Explore a comprehensive guide to the top 20 web development tools that can enhance your workflow. The article categorizes tools suitable for both beginners and advanced developers, highlighting features and limitations for each. Key categories include code editors, browser development tools, web frameworks, and container management software. Considerations for selecting the right tool include complexity, security, scalability, cost, programming language compatibility, and platform support.

  25. 25
    Article
    Avatar of reactstatusReact Status·49w

    React Status Issue 430: May 28, 2025

    The React Status Issue 430 covers recent happenings and updates in the React and JavaScript communities, including a brief mention of Google I/O attendance. It highlights interesting stories and tools related to JavaScript, providing readers with a concise update during a break from regular postings.