Best of ReactNovember 2022

  1. 1
    Article
    Avatar of communityCommunity Picks·3y

    React - Best Practices

    In JavaScript, you can adopt ES6 syntax to make your code cleaner. Don't Forget key Prop With map in JSX Always assign a unique value to the prop to every JSX element while mapping from an array. Use Ternary Operator instead of if/else if Statements makes your code bulky.

  2. 2
    Article
    Avatar of gcgitconnected·3y

    Javascript Design Patterns

    Singleton design pattern exposes a single instance that can be used by multiple components. Singleton Pattern can be considered the basics of global state management libraries such as Redux or React Context. The factory pattern is preferred in cases where the object creation process depends on dynamic factors.

  3. 3
    Article
    Avatar of communityCommunity Picks·3y

    Is React going anywhere?

    React will be 10 years old on the 29th of May 2023 (finally recruiters are able to ask for 10 years of experience, without being a laughing stock) React is getting old, and when applications start to get old, you start finding issues, loads of them.

  4. 4
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    TypeScript for React Developers – Why TypeScript is Useful and How it Works

    The idea behind this article is to go through the basics of TS and understand the benefits of TypeScript. In the second section of this article, I will cover the specifics of TS with React. This should help you decide if you want those benefits or not.

  5. 5
    Article
    Avatar of pointerPointer·3y

    The State of Frontend in 2022

    The State of Frontend in 2022 analysis of 3,700 respondents from 125 countries. The 5 countries with the most responses were the US, Poland, UK, Germany and India. Only 18% of people filling out the survey said they work at non-tech-first companies.

  6. 6
    Article
    Avatar of communityCommunity Picks·3y

    Data Structures In Frontend JavaScript In The Real World With React Code Examples

    Data Structures In Frontend JavaScript In The Real World (With React Code Examples) Data structures in JavaScript can be intimidating, especially for the self-taught folks among us.

  7. 7
    Article
    Avatar of asayerasayer·3y

    Dockerizing Full-Stack React apps

    Using infrastructures such as Docker and Containers gives a developer an upper hand to quickly set up and deploy applications. Containers are lightweight operating systems that run as a form of virtualization.

  8. 8
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    Tailwind CSS Landing Page Themes for Busy Developers

    Tailwind's library of free and paid resources makes it incredibly easy to build a professional-looking website. By default, it comes in light mode but it has a dark mode option that the website users/visitors can turn on and off as they please. Alternatively, you can purchase the entire TailwindUI toolkit that contains multiple themes and useful resources.

  9. 9
    Article
    Avatar of communityCommunity Picks·3y

    Full Stack Components

    Remix enables this thanks to its compiler and router.

  10. 10
    Article
    Avatar of communityCommunity Picks·3y

    Tidy up your ES6 imports

    Barrel Pattern A barrel is a way to roll up exports from several modules into a single module. The barrel itself is a module file that re-exports selected exports of other modules. For each folder where we want a common export, we create an file that will contain the exports for every file of the folder.

  11. 11
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    How to Manage State in React

    The only time a React app will re-render is when state changes. Jack Herrington created this course to teach you all about React State Management.

  12. 12
    Article
    Avatar of tkdodoTkDodo·3y

    Working with Zustand

    Zustand provides a simple API to create global state stores and subscribe to them via selectors. It provides the bear minimum to get you started (hence the logo), and it's flexible enough to scale to your needs. It doesn't track which fields you are using like other libraries do - you have to subscribe "

  13. 13
    Article
    Avatar of dzDZone·3y

    12 Essential Skills Your ReactJS Developers Should

    This guide will explain the crucial React JS developer abilities to screen for when hiring a ReactJS developer. Read our in-depth recruiting guide to discover the greatest React skills for your team. Join the DZone community and get the full member experience.

  14. 14
    Article
    Avatar of devtoDEV·3y

    Reactjs Protected Route

    React Router provides a convenient way to define protected routes that require authentication. By default, these routes are treated as public routes and anyone can access them. To create a protected route, you need to use the React Router Route component and specify the path that you want to protect.

  15. 15
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    The Best Backend as a Service for your React App

    Firebase has dominated the backend-as-a-service space for many years, but Supabase has emerged as a great alternative. Supabase allows you to take your code and deploy it wherever you like. You can build your app, deploy it to Supabase's servers, or you can Deploy it to your own hosting service.

  16. 16
    Article
    Avatar of logrocketLogRocket·3y

    Building a full-stack TypeScript application with Turborepo

    Turborepo is a popular monorepo tool in the JavaScript/TypeScript ecosystem. It’s fast, easy to use and configure, and serves as a lightweight layer that can easily be added or replaced.

  17. 17
    Article
    Avatar of communityCommunity Picks·3y

    Optimization Techniques and Best Practices for React Application

    Keeping React components clean with all the business logic in a separate file can help to improve the code quality, maintainability, and readability. This article helps you with major optimization techniques and code practices that you can incorporate into your React application. Using Webpack for bundling, you can achieve this kind of code-splitting capability. By splitting the bundled files, web browsers cache less frequently changing files and parallel downloads resources to reduce load time.

  18. 18
    Article
    Avatar of asayerasayer·3y

    Top alternatives to Create-React-App

    The React team’s official launch script, Create-React-App (CRA) is the best choice for launching your React applications. There are some difficulties that developers run into while starting their project with the CRA.

  19. 19
    Article
    Avatar of phProduct Hunt·3y

    Circum Icons - Coherent open-source icon library for designers & developers

    These open-source icons are perfect for modern frameworks like React, Vue and Svelte. There are 285 icons currently available and a growing library of icons. Whether you're a designer or a developer, we've covered you with features.

  20. 20
    Article
    Avatar of logrocketLogRocket·3y

    Recursive components in React: A real-world example

    In this article, we will explore the details of recursive components in React and their usage in a real-world application. We will look at an example of a recursive component in React to evaluate their modularity, readability, and maintainability. In the next section of this tutorial, we'll build a nested file explorer app using standard React components. We will build the same React app by using recursive components.

  21. 21
    Article
    Avatar of asayerasayer·3y

    Role-based access in React

    The React app is a simple React app for a company with three distinct roles. We’ll be implementing a role-based access system in a React app using react-router-dom protected routes. Only a marketer will be able to access the software engineering route, and only the human resource personnel will have access to the marketing route.

  22. 22
    Article
    Avatar of asayerasayer·3y

    All about JavaScript Events

    Javascript is used to make dynamic and interactive pages in the browser. Sometimes web developers use the Javascript event incorrectly, thereby not giving their webpages the perfect UI and UX it needs. It is a procedure that begins with the element that caused the event and then cascades up to the elements in the hierarchy that contain it.

  23. 23
    Article
    Avatar of asayerasayer·3y

    Creating a Design System using Radix

    Radix is an open-source UI component library used to build good, friendly, and accessible design systems and web applications. Radix is made up of three parts: Primitives, Colors, and Icons, plus Stitches. These parts help you build out various design systems. To make this article understandable, we will build a component library as a subset of a design system.

  24. 24
    Article
    Avatar of communityCommunity Picks·3y

    React Soft Dashboard - FullStack & Live Deploy

    React Soft Dashboard is a modern design crafted and released for free by Creative-Tim. The product is built with over 70 frontend elements, like buttons, inputs, navbars, cards, or alerts. The UI now uses the latest version provided by and also supports Drag & Drop deployment using the LIVE Deployer Service.

  25. 25
    Article
    Avatar of asayerasayer·3y

    Using Material UI with React"

    Material UI is an open-source, front-end user interface library that features components for speeding up the creation of web applications. Material UI allows the developer to customize the style and appearance of components, changing themes, typography, and appearance to give web pages a unique feel.