Best of ReactJuly 2022

  1. 1
    Article
    Avatar of communityCommunity Picks·4y

    How to Use Three.js And React to Render a 3D Model of Your Self

    In this article, we’ll cover how to render and configure 3D assets created in a 3D software program like Blender or Maya in a React project using react-three-fiber. To get a customized 3D model of yourself, We well use Ready Player Me, a free-to-use 3D avatar creator.

  2. 2
    Article
    Avatar of communityCommunity Picks·4y

    7 Tips for Clean React TypeScript Code you Must Know

    Clean code isn't code that just works. It refers to neatly organized code which is easy to read, simple to understand and a piece of cake to maintain. Let's take a look at some of the best practices for clean code in React. Provide explicit types for all values. Take the previous state into account while updating the state.

  3. 3
    Article
    Avatar of communityCommunity Picks·4y

    How to use Lottie animations & React JS?

    Lottie is a library created by Airbnb to facilitate the creation of animations for different platforms. Lottie files work on any device and can be scaled without loss of quality, just like an SVG file. The big difference between animated GIFs and Lotte files is that GIFs are made up of images and Loti files are generated through code in a JSON file.

  4. 4
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    How to Authenticate a User with Face Recognition in React.js

    In this tutorial, we'll discuss different authentication techniques you can use to authenticate users. These include email-password authentication, phone auth, OAuth, passwordless magic links, and at last facial authentication. We'll also build a project that teaches you how to integrate facial recognition-based authentication in your React web application Magic link authentication Magic links.

  5. 5
    Article
    Avatar of medium_jsMedium·4y

    11 Advanced React Interview Questions you should absolutely know (with detailed answers)

    React is a tool that allows you to add and remove elements from the DOM. It can be used to make changes to the DOM without having to change the entire DOM. The tool can also be used in conjunction with other tools to make it easier for people to create and edit new elements.

  6. 6
    Article
    Avatar of daily_jsDaily JS·4y

    Applying SOLID principles in React

    SOLID is an acronym, where each letter represents one out of five design principles. These principles rely on concepts of classes and interfaces, while JS doesn’t really have either. The way we write modern React code is far from being object-oriented — if anything, it feels more functional. SOLID principles are language agnostic and have a high level of abstraction.

  7. 7
    Article
    Avatar of hashnodeHashnode·4y

    How to Internationalize your React App

    App internationalization is the process of making your app's content available in multiple languages. Most businesses avoid internationalization because it is too difficult and time-consuming to implement. The process of designing a product — in this case, a React app — to be used in different locales is known as internationalization.

  8. 8
    Article
    Avatar of communityCommunity Picks·4y

    How To Add Login Authentication to React Applications

    This tutorial was tested on Node.js version 10.22.0 and npm version 6.14.6. The author selected Creative Commons to receive a donation as part of the Write for DOnations program. Many web applications are a mix of public and private pages. Public pages are available to anyone, while a private page requires a user login.

  9. 9
    Article
    Avatar of joshwcomeauJosh W Comeau·4y

    Statements Vs. Expressions

    This tutorial explains the difference between a “statement” and an “expression” in JavaScript. Most of those JSX rules you've had to memorize, and always forget to follow, are the result of this duality. This tutorial assumes that you're comfortable with basic JavaScript syntax, but is otherwise written to be beginner-friendly.

  10. 10
    Article
    Avatar of asayerasayer·4y

    Sending emails from React with EmailJS

    EmailJS is a JavaScript library that helps send emails using only client-side technologies. The cool thing about EmailJS is that no servers are required. All you have to do is connect it to one of the supported email services, create an email template, and use EmailJS to trigger an email.

  11. 11
    Article
    Avatar of communityCommunity Picks·4y

    11 Advanced React Interview Questions you should absolutely know (with detailed answers)

    React code is written in JSX, but no browser can execute JSX directly as they are built to read-only regular JavaScript. Virtual DOM is a concept where a virtual representation of the real DOM is kept inside the memory. Key helps React identify which items have changed, are added, or are removed, enabling it to reuse already existing DOM elements.

  12. 12
    Article
    Avatar of vercelVercel·4y

    Build Your Own Web Framework – Vercel

    ReactDOM Server exposes a method called renderToString, which takes a React component and returns the corresponding HTML output. To support static pages, we first have to implement a transpilation step that turns React-based pages into static HTML. To hydrate dynamic components, we can export a string literal that our bundler eventually uses to create a custom hydration script for individual pages.

  13. 13
    Article
    Avatar of communityCommunity Picks·4y

    Ultimate React Router v6 Guide

    React Router is the most popular routing library in React. It can be a bit complicated to wrap your head around some of the more complex features. In this article I will be breaking down everything you need to know about React Router. This article will be broken down into 4 sections.

  14. 14
    Article
    Avatar of gcgitconnected·4y

    How to Write Better Performing React Function Components

    The shallow comparison algorithm used in React is covered in detail in the following article. The main ideas for optimizing the performance of React components are:Reduce the amount of calculation for each render. Reduce the number of re-renders. Let React reuse the DOM as much as possible.

  15. 15
    Article
    Avatar of phProduct Hunt·4y

    HEAZY - Free SVG design asset platform

    Heazy lets you generate beautiful, unique and and funky vector visuals. Export your creations as SVG, PNG or React Components in JavaScript or TypeScript. Save your coolest templates to your profile. Reuse and randomise designs as often as you want. Heazy is free to use.

  16. 16
    Article
    Avatar of systemweaknessSystem Weakness·4y

    Dockerize a MERN Stack app for Production with Security in Mind (Part II)

    This post is the 2nd part of a two part series that covers how to make a MERN stack application production-ready with security in mind. The first part of this series was more of a theoretical post to grasp the basic concepts of what we want to achieve.

  17. 17
    Article
    Avatar of phProduct Hunt·4y

    Locofy.ai - Turn Figma designs into code: React, React Native, HTML-CSS+

    Locofy.ai helps builders launch 3-4x faster by converting designs to production ready code. Try Figma to React, React Native, HTML-CSS, Next.js, Gatsby in FREE BETA! Tag responsive designs, make components, get a live-prototype & export code or direct deploy.

  18. 18
    Article
    Avatar of asayerasayer·4y

    Redwood, a new framework

    Redwood is obsessed with developer experience and eliminating as much boilerplate as possible. It provides a full-stack development process with component development to help you grow from project to startup. Redwood features an end-to-end development workflow for developing React. GraphQL and GraphQL components, as well as the query language for query data.

  19. 19
    Article
    Avatar of towardsdevTowards Dev·4y

    useMemo and useCallback in React

    memoization or memoisation is an optimization technique used to speed up computer programs by storing the results of expensive function calls and returning the cached result when the same inputs occur again. In React, memoization has the same philosophy but it’s a little bit different but it's a bit different to memoization.

  20. 20
    Article
    Avatar of asayerasayer·4y

    Zustand: simple, modern state management for React

    Zustand is a fast and scalable state management solution built by the developers of Jotai and React springs. In this tutorial, readers will learn how to manage states with Zustand for clean code and better data flow in their application. In earlier times, states were managed by passing data down to various applications, but this method became inefficient as the complexity of applications grew.

  21. 21
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    Test-Driven Development Tutorial – How to Test Your JavaScript and ReactJS Applications

    Test-Driven Development (TDD) requires you to pre-specify the output your intended program must produce to pass the test of functioning the way you envisioned. This tutorial will show you all you need to cd path/to/addition-calculator-jest-project Step 4: Create a package, Initialize a package.json file for your project. If your package manager is Yarn, run: yarn add jest --save-dev.

  22. 22
    Article
    Avatar of asayerasayer·4y

    Authentication with JWT for your website

    JWT is a stateless authentication mechanism popularly used as a client-side stateless session. A JWT can be symmetrically signed by a shared secret using the HMAC algorithm. While SAML tokens can use public/private key pairs like JWTs like JWT, the signing algorithm could be HMAC SHA256 or RSA. JWT has some recommendations for JWT developers. For more information about JWT and the signing algorithms. The JWT will be available on the JWT to help users and other services. For example, you can find out how to use JWT in a website and use a JWT on a site and use the J WT on a website. The signature is created by taking the encoded header, the encoded payload,

  23. 23
    Article
    Avatar of asayerasayer·4y

    Using Mantine with React and Next

    Mantine is a feature-rich React component framework that lets you quickly create fully functional and accessible online applications. It has several custom components and hooks that can be dynamically utilized in a project. Some of the features of Mantine include theming, reusable components, and some unique hooks for managing the state and UI, which can be used to create custom components.

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

    Pegava - A beautiful dating app made in React Native

    Pegava is an open-source dating app for Android. The app was originally created during the pandemic but was never released. The project is under the The Creative Commons CC0 license. The full responsive design is located here: Figma link. Themes are according to system preferences: Light Mode.IOS.mp4, Dark Mode. IOS.MP4, etc.

  25. 25
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    How to Build a Full-Stack Authentication App With React, Express, MongoDB, Heroku, and Netlify

    This tutorial assumes that you already know the basics of: Nodejs and Express. We'll begin with setting up a database using MongoDB, then we'll create endpoints (login and register), and finish by hosting the endpoints on Heroku. By the end of this tutorial, you will have learned how to use tools such as Nodejs, Express, React, Mongo DB, Heroku, Netlify.