Best of JavaScriptMay 2024

  1. 1
    Article
    Avatar of communityCommunity Picks·2y

    Frontend resources! 🚀

    A collection of frontend resources for UI creation, performance optimization, and more.

  2. 2
    Article
    Avatar of communityCommunity Picks·2y

    JavaScript Security: Simple Practices to Secure Your Frontend

    Learn simple practices to secure your frontend JavaScript code, including keeping dependencies up-to-date, using security headers, and sanitizing user input.

  3. 3
    Article
    Avatar of communityCommunity Picks·2y

    Dynamic Github profile with Bun and Typescript

    Learn how to enhance your GitHub profile using Bun and TypeScript. Install Bun, explore the differences between JavaScript and TypeScript, and understand how rss-parser works.

  4. 4
    Article
    Avatar of devtoDEV·2y

    I built a free, open-source project manager that helps teams keep costs under $15/month.

    A developer built an open-source project manager with low operational costs, leveraging free platforms and offering essential features for small teams.

  5. 5
    Article
    Avatar of devtoDEV·2y

    10 engineering blogs to become a System Design Hero for free

    Learn about the top 10 engineering blogs that can help you become a system design master for free.

  6. 6
    Article
    Avatar of communityCommunity Picks·2y

    5 Cool Chrome DevTools Features Most Developers Don’t Know About

    Discover 5 lesser-known features of Chrome DevTools that can greatly boost development efficiency, including observing variable values in real time, logging to the console without changing code, setting conditional breakpoints, using DOM breakpoints, and preserving console logs across page reloads.

  7. 7
    Article
    Avatar of devtoDEV·2y

    Essential ES6 JavaScript Features Every JavaScript Developer Should Know

    Learn about the essential features of ES6 in JavaScript, including arrow functions, template literals, array destructuring, object destructuring, the Set method, the spread operator, and the rest operator.

  8. 8
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Use React Developer Tools – Explained With Examples

    Learn how to use React Developer Tools to inspect and debug React applications efficiently. Install the extension, navigate the interface, and explore component state and props. Debug errors and analyze performance using React DevTools.

  9. 9
    Article
    Avatar of devtoDEV·2y

    Array.reduce() is Goated

    Discover the power and versatility of Array.reduce() through nine incredible use cases, including summing numbers, flattening arrays, grouping objects, creating lookup maps, counting occurrences, composing functions, implementing state management, generating unique values, and calculating averages.

  10. 10
    Article
    Avatar of medium_jsMedium·2y

    5 Cool Chrome DevTools Features Most Developers Don’t Know About

    Discover 5 lesser-known but powerful features of Chrome DevTools that can boost your development efficiency, including real-time variable observation, logpoints, conditional breakpoints, DOM breakpoints, and log preservation.

  11. 11
    Article
    Avatar of communityCommunity Picks·2y

    5 JavaSript GitHub Repositories for Interview Prep!📝

    A list of JavaScript GitHub repositories for interview preparation and improving core JavaScript fundamentals.

  12. 12
    Article
    Avatar of devtoDEV·2y

    The Module System in Javascript

    Mastering the module system in JavaScript is crucial for creating scalable, maintainable, and efficient code. Modules help with code organization, reusability, encapsulation, and dependency management. CommonJS is the first module system in Nodejs, and it uses require() and module.exports to import and export modules. The difference between module.exports and exports is that module.exports replaces the entire exports object, while exports is a shorthand reference to module.exports.

  13. 13
    Article
    Avatar of devtoDEV·2y

    Build Your Own React.js in 400 Lines of Code

    Learn how React works under the hood and build your own version with about 400 lines of code. Supports asynchronous updates and can be interrupted.

  14. 14
    Article
    Avatar of lobstersLobsters·2y

    A JavaScript Quine Clock

    A JavaScript Quine Clock is a unique clock that uses self-replicating code to display the time. The code continuously updates and generates the current time in a visually appealing way.

  15. 15
    Article
    Avatar of devtoDEV·2y

    It’s not just you, Next.js is getting harder to use

    Next.js' App Router has two major problems that make it difficult to adopt. The Pages Router was simpler and had file-based routing. The App Router introduced new features but also increased complexity. It's challenging to avoid complexity as frameworks grow. Just because something is recommended, doesn't mean it's right for you.

  16. 16
    Article
    Avatar of communityCommunity Picks·2y

    New alternatives to innerHTML

    New alternatives to innerHTML have been implemented in browsers. The setHTML function is a safe method that does not execute script, while setHTMLUnsafe is an unsafe method that poses a risk of XSS attacks. The Sanitizer API helps put the naming of setHTMLUnsafe in context. The setHTMLUnsafe function is useful for declarative shadow DOM. The getHTML function allows users to retrieve HTML content, with the ability to serialize shadow DOM.

  17. 17
    Article
    Avatar of awegoAwesome Go·2y

    A JavaScript developer tries Go for the first time

    A JavaScript developer shares their first impressions of the Go programming language, highlighting its error handling, defer statement, explicit type conversion, switch statement, pointers, simple type system, and consistent approach to coding.

  18. 18
    Article
    Avatar of communityCommunity Picks·2y

    Understanding JavaScript Promises

    This post explains the concept of JavaScript Promises and how to use them. It covers the three states of a Promise and demonstrates how to chain Promises. It also compares Promises to other asynchronous techniques like callbacks and Observables.

  19. 19
    Article
    Avatar of communityCommunity Picks·2y

    TypeScript Basics

    TypeScript is a typed superset of JavaScript that brings a package of benefits to the table. It catches errors at compile time, improves code readability, provides IntelliSense, offers better tooling, and is better for large applications. Learning JavaScript is a prerequisite for learning TypeScript.

  20. 20
    Article
    Avatar of devtoDEV·2y

    Write Minimal ES6 Code

    Discover new ES6 approaches to simplify and streamline JavaScript code, resulting in cleaner and more readable code.

  21. 21
    Article
    Avatar of devtoDEV·2y

    The Power of Reduce: Optimizing JavaScript Code for Speed and Efficiency

    Learn about the reduce method in JavaScript arrays and how it can optimize code for speed and efficiency. Discover how it compares to other iteration methods and the benefits of using reduce.

  22. 22
    Article
    Avatar of devtoDEV·2y

    JavaScript is not the problem

    A performance issue in an Angular 11 app was caused by a CSS rule, not JavaScript. The article discusses the use of JavaScript in web development and the importance of optimizing static assets and JavaScript bundles. It also addresses the role of Web Components and the Shadow DOM, concluding that excessive use of JavaScript is the problem, not JavaScript itself.

  23. 23
    Article
    Avatar of asayerasayer·2y

    How to Generate PDFs in a React App

    Learn how to generate PDFs in a React app using the React-pdf library. Discover the use cases, features, and installation process of React-pdf.

  24. 24
    Article
    Avatar of communityCommunity Picks·2y

    JavaScript Objects | Complete Guide

    Learn about JavaScript objects and how to create them using different methods. Also, discover ways to access object properties.

  25. 25
    Article
    Avatar of communityCommunity Picks·2y

    Answers to Common Next.js Questions

    Next.js is a high performance framework that provides a FAQ with common questions about Next.js and its Server Components.