Best of ReactAugust 2023

  1. 1
    Article
    Avatar of hackernoonHacker Noon·3y

    Mastering JavaScript Shorthands

    We'll explore the art of JavaScript shorthands - nifty techniques that make your code more concise and elegant. We'll dive into real use case examples in both vanilla JavaScript and shorthand form. The Ternary Operator: Conditional Assignment Use Case.

  2. 2
    Article
    Avatar of communityCommunity Picks·3y

    Introducing NextUI Version 2.0

    NextUI v2.0 comes with a TailwindCSS plugin that enables the customization and addition of default themes. New Templates & Guides for App and Pages directories, alongside Vite, Remix, and Astro installation guides, are introduced to aid your app creation process.

  3. 3
    Article
    Avatar of hackernoonHacker Noon·3y

    Building a Full Stack Airbnb Clone with Next.js, Tailwind CSS, Amplication, and More

    Building a Full Stack Airbnb Clone with Next.js, Tailwind CSS, Amplication, and more. The platform is centered around the concept of a low-code development environment. Amplication is an open-source development tool designed to simplify and expedite the process of building web applications.

  4. 4
    Article
    Avatar of itnextITNEXT·3y

    Build a Full Stack ReminderApp with React, NextJs, Typescript, ServerAction, Zod, Hook-form, Prisma, and Tailwind

    Build a Full Stack ReminderApp with React, NextJs, Typescript, ServerAction, Zod, Hook-form, Prisma, and Tailwind. Hi everyone, I published my last video: Build a full stack Reminder App.

  5. 5
    Article
    Avatar of habrhabr·3y

    React Custom Hook: useArray

    "useArray" hook is one of the many carefully crafted hooks available in the collection of React custom hooks. The useArray hook uses the useState hook from React to manage the array state. The advantages of using this custom hook are twofold: it simplifies the management of array states and provides a cleaner and more readable code structure.

  6. 6
    Article
    Avatar of itnextITNEXT·3y

    Build a drag and drop Kanban Board with React, Typescript, Tailwind, Dnd-Kit

    Build a drag and drop Kanban Board with React, Typescript, Tailwind, Dnd-Kit. This project is a great way to practice your React skills and learn some new techniques and libraries. So what are you waiting for? Check out the video below and let me know what you think in the comments.

  7. 7
    Article
    Avatar of asayerasayer·3y

    Applying Design Principles in React

    KISS Principle KISS is an acronym for ‘keep it simple, stupid’ This principle was first coined by Clarence Leonard ‘Kelly’ Johnson (1910-1990), an American aeronautical and systems engineer. This article will explain several popular software development principles and how to implement them in your React code base.

  8. 8
    Article
    Avatar of communityCommunity Picks·3y

    Things you forgot (or never knew) because of React

    React Part 1: An intro about music, defaults, and bubbles. Josh Collinsworth blog post: Things you forgot (or never knew) because of React. Collinsworth: You can keep listening to the same music for the rest of life for life.

  9. 9
    Article
    Avatar of swizecswizec.com·3y

    How many years to senior engineer?

    Swizec Teller: Years isn't it Years is a bad metric. It can be a decent proxy, if you have no other information, but what you're looking for is some sort of wisdom. Experienced engineers ask really weird questions that help them prune that decision tree in their mind in large swathes.

  10. 10
    Article
    Avatar of tilThis is Learning·3y

    Learning Web Development Together with a Real Project

    The app is currently based on Next.js with TypeScript and Tailwind CSS. We manage some data, specifically from the GitHub APIs using the GraphQL endpoint and React Query. There's a login feature with NextAuth using GitHub as a provider. The project is open to any kind of contribution, from fixing typos to adding new features.

  11. 11
    Article
    Avatar of phProduct Hunt·3y

    Radix Themes - A beautiful component library for building React apps faster

    Radix Themes is an open source component library for building React apps faster. It helps you build faster and makes it easy to create beautiful, accessible interfaces that are a breeze to maintain. Radix UI is rated 5/5 ★ by 21 users.

  12. 12
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    How to Create a Meteor Effect with React and TailwindCSS

    A Meteor is basically a UI element with a head and a tail that has a gradient. In the image, the background lines are what I call meteors. We are going to animate these lines to go from the left side of the card container to the right side, giving an illusion of a meteor shower.

  13. 13
    Article
    Avatar of communityCommunity Picks·3y

    Infinite Scroll in React: Complete Guide for Dynamic Loading

    Infinite Scroll is a web design technique that allows users to scroll through content continuously without pagination or clicking "Next" buttons. In this guide, we'll implement infinite scrolling by building a card-based planet explorer. We'll explore the potential performance issues infinite scrolling can present and reveal optimization strategies to mitigate them.

  14. 14
    Article
    Avatar of communityCommunity Picks·3y

    Patterns for Reactivity with Modern Vanilla JavaScript

    Patterns for Reactivity with Modern Vanilla JavaScript are Core to Web Development. ‘Reactivity’ is how systems react to changes in data. Reactive Object Properties with Proxies in JavaScript can be the foundation for performing reactivity after setting or getting properties on an object.

  15. 15
    Article
    Avatar of communityCommunity Picks·3y

    Building a Design System with React Web Components

    Building a Design System with React Web Components is a simple way to build a universal design system with React. We compiled React to Web Components using wrappers, polyfills and tooling to make them work in every context. The implementation turned out tougher than we anticipated but we're happy with the result.

  16. 16
    Article
    Avatar of habrhabr·3y

    React Custom Hook: useAsync

    The useAsync hook takes in a callback function that performs the asynchronous operation and an optional array of dependencies. It returns an object with three properties: loading, error, and value. The hook employs the useState and useEffect hooks to manage the loading state and invoke the memoized callback function when necessary.

  17. 17
    Article
    Avatar of asayerasayer·3y

    React: Performing Authentication with JWT

    This article will discuss how to perform JWT authentication in a React app. We will cover the steps involved in setting up a backend JWT endpoint, signing up and signing in from your React app, and protecting routes with JWT validation. You will use a custom-built Express server API to relay the JWT token for a user.

  18. 18
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    MERN Stack Crash Course – Build a Book Store App

    MERN stack is a set of technologies often used to build full stack web apps. You'll start from scratch and build a complete CRUD application, exploring both backend and frontend development. The course covers an array of topics, including but not limited to: Backend CRUD operations.

  19. 19
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    React Server Components – How and Why You Should Use Them in Your Code

    React has changed how we think about building user interfaces. We must adapt to this new mental model to fully leverage its power in building applications. In this tutorial, you'll learn about React Server Components (RSC) You'll learn exactly what they are and how they work, and more importantly, what problem they solve.

  20. 20
    Article
    Avatar of syncfusionSyncfusion·3y

    Boosting React Performance: useCallback vs. useMemo Hooks

    React 16 promoted the creation of functional components and introduced the following hooks: useEffect for handling the component’s lifecycle. These hooks are necessary because re-renders and re-computations are costly operations. In this blog, we will delve into these hooks, exploring their functionality and examining how they work.

  21. 21
    Article
    Avatar of habrhabr·3y

    React Custom Hook: useDarkMode

    "UseDarkMode" Hook is one of the many carefully crafted hooks available in the collection of React custom hooks. It combines two other handy hooks and, to provide a seamless dark mode experience. It automatically detects the user's preferred color scheme and persists the dark mode state in the browser's local storage.

  22. 22
    Article
    Avatar of communityCommunity Picks·3y

    HTMX: The Game-Changing Alternative to React

  23. 23
    Article
    Avatar of habrhabr·3y

    React Custom Hook: useClickOutside

    The useClickOutside hook is designed to simplify the process of detecting clicks outside a specified component. It listens for click events on the document level, allowing you to trigger a callback function when a click occurs outside the provided component's reference. It works seamlessly with functional components using the useState and useRef hooks.

  24. 24
    Article
    Avatar of hackernoonHacker Noon·3y

    How to manage state in Next.js 13 using Redux Toolkit.

    We will go through a real world example whereby, we need to store authentication data in redux state and in this case, it will be persisted. We will also access this data in the some of the components that need it. We will use Redux Toolkit to manage state in Next.js.

  25. 25
    Article
    Avatar of habrhabr·3y

    React Custom Hook: useDebugInformation

    React Custom Hook: useDebugInformation is one of the many carefully crafted hooks available in the collection of React custom hooks. The hook tracks the number of renders, changed props, time since the last render, and the timestamp of the last rendering. UseDebugInformation can be applied in various scenarios.