Best of JavaScriptJuly 2023

  1. 1
    Article
    Avatar of asayerasayer·3y

    5 Tips To Improve Your TypeScript Code

    TypeScript is rapidly gaining popularity as a way to write type-safer, maintainable JavaScript code. This article will cover five tips that will help you improve your TypeScript code. To get the most out of this text and become a great developer, you must have sufficient knowledge of JavaScript, including variables, data types, and methods.

  2. 2
    Article
    Avatar of codropsCodrops·3y

    Scroll-Based Layout Animations

    The main idea is to switch the layout view while scrolling and keep the section pinned. We achieve this by combining GSAP’s ScrollTrigger and Flip which seamlessly transition the layout to a new design. This is partly inspired by this demo made by the folks of Framer University.

  3. 3
    Article
    Avatar of communityCommunity Picks·3y

    gibbok/typescript-book: The Concise TypeScript Book: A Concise Guide to Effective Development in TypeScript. Free and Open Source.

    The Concise TypeScript Book provides a comprehensive and succinct overview of TypeScript's capabilities. It offers clear explanations covering all aspects found in the latest version of the language. Author Simone Poggiali is an experienced Senior Front-end Developer with a passion for writing professional-grade code.

  4. 4
    Article
    Avatar of communityCommunity Picks·3y

    JavaScript Playground – A no-fuss pure JavaScript playground with a live feedback loop

    JavaScript Playground is a small web application that provides a JavaScript playground for free. You can think of it as a tiny editor for you to quickly test any JavaScript supported by your browser. It functions pretty much like a REPL, where you are given immediate feedback on the Console screen as you change your code.

  5. 5
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    Why are two similar objects not equal in JavaScript?

    In JavaScript, two objects cannot be equal even though they are similar in JavaSCript. In the case of objects, you are comparing the references (the addresses) and not the exact values.

  6. 6
    Article
    Avatar of prettierPrettier·3y

    Prettier 3.0: Hello, ECMAScript Modules! · Prettier

    Prettier 3.0: Hello, ECMAScript Modules! We are excited to announce the release of the new version of prettier. This release also includes numerous formatting improvements and bug fixes. We'd like to extend our gratitude to Tatsunori Uchino, who has made significant contributions toprettier.

  7. 7
    Article
    Avatar of habrhabr·3y

    Supercharge Your Projects with React Custom Hooks

    React Hooks are a feature introduced in React version 16.8 that revolutionized the way developers write and manage stateful logic in functional components. They enable developers to break down complex components into smaller, more manageable pieces, resulting in cleaner and more maintainable code. Hooks allow developers to manage component state and handle side effects effortlessly.

  8. 8
    Article
    Avatar of lambdatestLambdaTest·3y

    How To Reduce Page Load Time In JavaScript

    How To Reduce Page Load Time in JavaScript Solomon Eseme will explore how to reduce page load time in JavaScript. In the next section of this tutorial, we will explore the different strategies you can implement to reduce the pageload time of your software application.

  9. 9
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    How to Write Faster HTML and CSS Code Using Emmet

    Emmet is an essential development tool that helps you quickly create repetitive structures like lists, tables, or ordered elements with minimal typing. It is more like a shorthand that translates to multiple lines of HTML or a CSS attribute. In this tutorial, we will learn some Emmet shortcuts that generate HTML and CSS quickly.

  10. 10
    Article
    Avatar of itnextITNEXT·3y

    Angular is getting New Template Syntax

    Angular is getting New Template Syntax, Built-In Control Flow, a farewell to structural directives. The new syntax emphasizes using ‘track’ for loops to improve performance and optimizes list diffing by enforcing tracking. The team is working on an automated migration schematic to convert from the old to the new syntax.

  11. 11
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    Regular Expressions for JavaScript Developers [Full Book]

    Regular expressions can be intimidating when you first encounter them. When I started learning to code, I gave up on regular expressions twice. In this book, you'll also see how they work in JavaScript. You'll also need to understand the methods and functions the language uses for working with regular expressions.

  12. 12
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    How to Use the JavaScript Fullscreen API

    Fullscreen API is a browser web API that allows you to enable fullscreen mode for HTML elements. It saves you the stress of using CSS and JavaScript to implement fullscreen functionality. The use cases of fullscreen API are numerous because of the increased complexity of today's websites.

  13. 13
    Article
    Avatar of pointerPointer·3y

    kamranahmedse/driver.js: A light-weight, no-dependency, vanilla JavaScript engine to drive the user's focus across the page

    Driver.js is a light-weight, no-dependency, vanilla JavaScript engine to drive the user's focus across the page. It is written in Vanilla TypeScript, has zero dependencies and is highly customizable. Highlight anything: highlight any element on page - Focus shifters: add focus shifters for users.

  14. 14
    Article
    Avatar of communityCommunity Picks·3y

    Coding Randomized Zelda Patterns

    The pattern is even used on the official game website. I really enjoy creating procedurally generated artwork using JavaScript and SVGs. We’ll use JavaScript to reduce repetition in our code and allow us to randomize the placement of these shapes. We can reproduce these shapes using the SVG “ vector graphic” format.

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

    A simple guide to JavaScript concurrency in Node.js

    A simple guide to JavaScript concurrency in Node.js and a few traps that come with it. Why is it that despite its single-threaded design, node.js is still capable of handling concurrency and multiple I/O operations at the same time? I could end it right here and call it a day.

  16. 16
    Article
    Avatar of hackernoonHacker Noon·3y

    Optimizing SEO in Next.js: Techniques for Better Search Engine Visibility

    Optimizing SEO in Next.js: Techniques for Better Search Engine Visibility.js is a powerful React framework. It provides developers with a solid foundation for building performant and SEO-friendly web applications. In this blog post, we will explore advanced techniques for optimizing SEO in next.js.

  17. 17
    Article
    Avatar of jsPlainEnglishJavaScript in Plain English·3y

    Redis vs Kafka vs RabbitMQ

    Redis vs Kafka vs RabbitMQ will compare the three most popular brokers: RabbitMQ, Kafka and Redis. RabbitMQ supports all major languages, including Python, Java,.NET, PHP, Ruby, JavaScript, Go, Swift, and more. Kafka Scale: can send up to a million messages per second.

  18. 18
    Article
    Avatar of devtoDEV·3y

    What Are SOLID Design Principles

    SOLID is an acronym for the first five Object-Oriented design principles by Robert C. Martin. SOLID principles are intended to make the software more understandable, flexible, scalable and maintainable. They promote good design practices and help developers create flexible, maintainable, and easy-to-understand software.

  19. 19
    Article
    Avatar of asayerasayer·3y

    Implementing Live Search Functionality in JavaScript

    This article will explore the ins and outs of implementing live search functionality using JavaScript. This article is designed to provide you with the general coding knowledge and tools necessary to incorporate live search into your projects. The Importance of Live Search Functionality Live search functionality has become vital in today’s digital landscape.

  20. 20
    Article
    Avatar of asayerasayer·3y

    CSS wrapping made easy

    CSS wrapping may be relied on when it comes to regulating how items are displayed and wrapped within a container. It emphasizes content readability and adaptability to any screen size, particularly smaller screens. CSS has several properties for managing how to make text wrap; the two most common properties are and.

  21. 21
    Article
    Avatar of css-irlCSS {IRL}·3y

    Scroll Progress Animations in CSS

    CSS Scroll-linked animations can often add a touch of class to a website. Now a brand new specification is being implemented to enable us to create rich scroll-driven experiences with CSS.

  22. 22
    Article
    Avatar of codemotionCodemotion·3y

    How To Optimize Next.js for Production

    Next.js is now considered the framework for building the modern Internet. Next.js comes with built-in optimization features to take the performance of your production application to the next level. In this guide, you will dig into the essential strategies and best practices to deploy Next.JS to production.

  23. 23
    Article
    Avatar of hackernoonHacker Noon·3y

    Understanding the Javascript Event Loop (Everything You Need to Know)

    JavaScript operates on a single thread, allowing it to process instructions one at a time. The call stack is an array where the JavaScript interpreter keeps track of the code you're running.

  24. 24
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    Learn JavaScript for Beginners – JS Basics Handbook

    Learn JavaScript for Beginners - JS Basics Handbook. We'll cover things like variables, data types, functions, objects, arrays, and classes. You'll also learn how to mix them all to build a small but solid program. This tutorial focuses only on JavaScript as a programming language and uses the terminal to run the code.

  25. 25
    Article
    Avatar of typescripttvTypeScript.TV·3y

    What is Downleveling in TypeScript?

    TypeScript TV Downleveling refers to the process of transpiling modern TypeScript code into an older version of JavaScript. It allows developers to target older JavaScript runtime environments that may not support the latest features and syntax introduced in newer versions of ECMAScript.