Best of ReactFebruary 2022

  1. 1
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    The React Cheatsheet for 2022

    React elements are written just like regular HTML elements. You can write any valid HTML element in React. We write React elements using a feature called JSX . Because JSX is really just JavaScript functions (and not HTML), the syntax is a bit different. We can organized groups of elements into React components.

  2. 2
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    What Backend Should You Use for React?

    In every React project, we manage data on the client through state and user interactions. Many apps are not possible without data that comes from the backend. Backend consists of two parts: A place to store our data and a method for retrieving the data. What type of backend you choose depends upon some key features of your data.

  3. 3
    Article
    Avatar of colkgirlCode Like A Girl·4y

    Ways to Add Authentication to Your React Apps

    Authentication is an integral part of any public-facing application. It is used to verify if the user on a platform is who they say they are. Several plugins, widgets, and apps are available for authenticating users on your React app. This article will look at two of these in detail: Frontegg and Okta.

  4. 4
    Article
    Avatar of hashnodeHashnode·4y

    React Awesome Shapes

    React Awesome Shapes is an open-source NPM package with which you can insert beautiful shapes into your React site. This project reimplements all the shapes used in Gatsby Themes and adds a few new shapes. The package contains shapes: Circle, Donut, CircleGrid, Square, Diamond, PolygonCard.

  5. 5
    Article
    Avatar of logrocketLogRocket·4y

    Full-stack app tutorial with NestJS and React

    NestJS is a robust framework for building efficient, scalable Node.js server-side applications. This tutorial will illustrate the combined power of NestJS and React by using both to build a full-stack video streaming application. In this article, we’ll take a deep dive into building the app backend with Nest.js, building theapp frontend with React, and then deploying the full- stack app.

  6. 6
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    React Best Practices – Tips for Writing Better React Code in 2022

    Two years ago, I started to learn and use React. And today I'm still using it at my day job as a Software Developer and in my own side projects. During that time I've come across a lot of "typical" issues. So I searched around and found some best practices that I've integrated into my workflow.

  7. 7
    Article
    Avatar of jsPlainEnglishJavaScript in Plain English·4y

    🔥 Web 3.0 Frontend Stack of 2022: Building Authentication with MetaMask, React, Next.js, and Chakra UI

    Web 3.0 Frontend Stack of 2022: Building Authentication with MetaMask, React, Next.js, and Chakra UI. Vitalii Shevchuk: After a few minutes of this tutorial, you will get connected with the blockchain world. In this project we will use the following tech stack, I would say it’s the best web3.0 stack of 2022 so far.

  8. 8
    Article
    Avatar of nextNext.js·4y

    Blog - Next.js 12.1

    Revalidate pages using getStaticProps instantly. Expanded Support for SWC: styled-components , Relay, and more. Zero-configuration Jest support using SWC. Faster Minification with SWC (RC): 7x faster minification than Terser. Self-Hosting Improvements: 80% smaller Docker images.

  9. 9
    Article
    Avatar of syncfusionSyncfusion·4y

    Everything You Should Know About React 18

    React is an open-source, JavaScript front-end library for building user interfaces. It works fast, is easy to learn, and is efficient especially in creating scalable and reusable UI components. In React 18, we will have two root APIs: the legacy root API and new root API.

  10. 10
    Article
    Avatar of phProduct Hunt·4y

    React and Next.js Snippets - React and Nextjs snippets with TypeScript

  11. 11
    Article
    Avatar of logrocketLogRocket·4y

    Svelte Native vs. React Native

    React Native is a cross-platform mobile app development framework that allows you to build native Android and iOS applications. Svelte Native is the opposite of the frameworks you already know and love, you’ll find out more about it further in this article. Before deciding to jump to any new framework, first determine if it’s the right one for your project.

  12. 12
    Article
    Avatar of devtoDEV·4y

    Screaming Architecture - Evolution of a React folder structure

    React’s unopinionated approach frequently raises questions: “Where should I put my files? How should I organize my code?” This write-up reflects my observations of these folder structures evolving in a growing codebase. It also includes a short list of best practices and a challenge to turn a design from my upcoming course into a feature-based folder structure.

  13. 13
    Article
    Avatar of flaviocopesFlavio Copes·4y

    Roadmap to become a Web Developer in 2022

    Web Development is always evolving and every year in January I like to take a step back and re-evaluate and observe the ecosystem. The question is: where should beginner Web Developers start in 2022, so they will learn skills they’ll find jobs for? Is there anything new you should absolutely learn? Let’s get into it.

  14. 14
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    10 React Interview Questions You Should Know in 2022

    React is a JavaScript library, not a framework. It gives us a way to easily create user interfaces with tools like JSX. React takes care of updating our UI when our data changes, without the need to update the DOM ourselves. Become a React pro in 4-5 weeks with the React Bootcamp.

  15. 15
    Article
    Avatar of snipcartSNIPCART·4y

    Next.js vs. React: The Difference & Best Frontend Framework

    React is the most popular JavaScript library for frontend developers. Next.js is a frontend JavaSript framework that builds upon React’s UI library. With new JavaScript frameworks and libraries coming out every year, it gets hard to keep up with the pace of the changing JS ecosystem.

  16. 16
    Article
    Avatar of itnextITNEXT·4y

    🔥 Web 3.0 Frontend Stack of 2022: Building Authentication with MetaMask, React, Next.js, and Chakra UI

    Web 3.0 Frontend Stack of 2022: Building Authentication with MetaMask, React, Next.js, and Chakra UI. Vitalii Shevchuk: After a few minutes of this tutorial, you will get connected with the blockchain world. In this project we will use the following tech stack, I would say it’s the best web3.0 stack of 2022 so far.

  17. 17
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    How to Manage State in Your React Apps

    There are four main types of state you need to properly manage in your React apps. Local state is perhaps the easiest to manage in React, considering there are so many tools built into the core React library for managing it. Server state is a simple concept, but can be hard to manage alongside all of our local and global UI state. URL state is often missing as a category of state, but it is an important one.

  18. 18
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    3 React Hooks Your Next Project Needs

    React hooks are powerful for their ability to give us reusable stateful features that are separate from our components. Here are three custom hooks that will add essential functionality to your React projects in just a line of code. useFetch Hook is a far better abstraction that solves all of these considerations in a single line of Code. useForm Hook gives us a custom, reusable hook to manage all of our form state.

  19. 19
    Article
    Avatar of headwayHeadway·4y

    Custom React Hooks with useHug

    Building custom hooks is a great way to encapsulate behaviors and reuse them throughout your application. To demonstrate this, we're going to build out the idea of "hugging" elements of our UI. Our huggable behavior will: Change the mouse cursor on hover (we want our user to know what needs a hug) Scale the element down on click (this is a firm hug, some squishiness is expected) Change the cursor while clicking (to show our appreciation)

  20. 20
    Article
    Avatar of medium_jsMedium·4y

    Story of a Failed React Project

    Mohammad Faisal shares his story of a failed React startup. He explains why the project failed and the reasons behind it. He also explains why he is still working on a React project today. The story is not a proud one, but it made him who he is today.

  21. 21
    Article
    Avatar of asayerasayer·4y

    3 Ways of Passing Multiple Parameters to the onClick Handler in React

    In this example-based article I want to quickly cover different ways to send multiple parameters to your event handling function without having to sell your soul to Satan. Let’s take a quick look at a fake use case so we’re all on the same page. Pretend you have a list of items on a fake checkout cart, each item has many properties and upon clicking one of the buttons, you need to delete it.

  22. 22
    Article
    Avatar of reactnativeexampleReact Native Example·4y

    A beautiful public transportation mobile application developed using Expo react native

  23. 23
    Article
    Avatar of faunaFauna·4y

    Intro to modern JavaScript frameworks

    JavaScript is a multi-paradigm language that supports both procedural and object-oriented programming. JavaScript frameworks provide developers with pre-written code for common programming patterns. By abstracting away many of the tedious tasks involved in setting up and running an application, these frameworks allow developers to focus on building the features of their applications.

  24. 24
    Article
    Avatar of reactnativeexampleReact Native Example·4y

    Sport App Built With React Native

  25. 25
    Article
    Avatar of bitBits and Pieces·4y

    Create React App without create-react-app

    How to get your React app ready for production. The complete process is divided into simple steps. Create a React project Write some code Webpack Babel Build and Run project Eslint (and Prettier) Husky (pre-commit Git hooks) SonarQube ( optional)