Best of ReactOctober 2023

  1. 1
    Article
    Avatar of communityCommunity Picks·2y

    Why I Won't Use Next.js

    The author explains why they won't use Next.js and instead recommend and teach Remix as a better tool for creating excellent user experiences. They discuss the importance of focusing on standard web platform APIs, concerns about Next.js's deployment options, the perceived lack of collaboration between React and Next.js teams, and their preference for stability and simplicity in a framework.

  2. 2
    Article
    Avatar of communityCommunity Picks·2y

    I switched from React to Vue

    Vue is easier to use and more intuitive than React. It has an awesome ecosystem with well-designed libraries like Pinia and VueUse. State management in Vue is simpler and more straightforward compared to React.

  3. 3
    Article
    Avatar of communityCommunity Picks·2y

    State of React 2023

    React Server Components promise to be the biggest change in React. Will the community follow along or switch to alternatives like Svelte or Solid? Find out in the State of React survey!

  4. 4
    Article
    Avatar of devtoDEV·3y

    The Roadmap to Web Dev Mastery (Best Resources)

    Learn about the complexities of today's web development landscape, including frameworks and libraries. Acquire skills for free through resources and avoid critical mistakes. Grasp the workings of a website, delve into front-end mastery with HTML, CSS, and JavaScript, optimize workflow with JavaScript frameworks, build a portfolio, and explore back-end mastery. Bright Data provides a valuable tool for accessing web data.

  5. 5
    Article
    Avatar of communityCommunity Picks·2y

    React Foundations

    The article introduces the Next.js Foundations course and provides information about the building blocks of a web application. It also explains what React is.

  6. 6
    Article
    Avatar of itnextITNEXT·3y

    Full stack WebPageForm builder, NextJs, Typescript ( React ), Dnd-Kit, PostgreSQL, Prisma

    A tutorial on building a full stack PageForm builder using NextJs, TypeScript, Dnd-Kit, PostgreSQL, and Prisma. The tutorial includes features such as a drag and drop designer, various form fields, form preview, form sharing, form stats, and more.

  7. 7
    Article
    Avatar of builderiobuilder.io·2y

    Make an Animated Menu like Stripe with React, Tailwind, and AI

    Learn how to create an animated menu like Stripe using React, Tailwind, and AI. The article explores how Stripe creates the menu animation, uses AI and Tailwind to generate the markup, and provides step-by-step instructions on implementing the animation logic. It also emphasizes the benefits of using visual copilot for code generation and offers additional challenges to enhance the menu design.

  8. 8
    Article
    Avatar of habrhabr·3y

    React + Three.js. Creating your own 3D shooter. Part 1

    This article explores the integration and features of React Three Fiber, a library that combines React and Three.js for creating 3D graphics on the web. It discusses the advantages of using React Three Fiber, the relevance of web game development, and performance aspects to consider. The article provides a step-by-step guide on setting up the project, customizing the Canvas display, adding a floor surface, lighting, physics, camera movement, importing 3D models, enabling shadows, and adding animation. The next part of the article will cover further improvements to the game.

  9. 9
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    Build an AI Chatbot with the MERN Stack

    Learn how to build an AI chatbot with the MERN Stack in a comprehensive course on the freeCodeCamp.org YouTube channel. The course covers topics such as creating a robust user authentication system, storing user chats securely in MongoDB, and integrating OpenAI with the MERN stack app.

  10. 10
    Article
    Avatar of sdtimesSD Times·2y

    Next.js 14 is now officially available, with addition of Server Actions and Partial Prerendering features

    Next.js 14 introduces significant performance improvements, including faster local server startup and code updates. It also includes Server Actions for data mutations and Partial Prerendering for handling dynamic content. Vercel has also launched a new course on Next.js Learn.

  11. 11
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Avoid Breaking Your React Application in Production

    Learn how to avoid breaking your React application in production by using React Error Boundaries. Discover what Error Boundaries are, why they are necessary, and how to use the react-error-boundary library.

  12. 12
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    Full Stack Project Tutorial – Create a Recipe App Using React, Node.js and PostgreSQL

    In this in-depth tutorial, we'll build a full stack recipe app from scratch, using React, Node.js, Postgres and the Spoonacular API. We'll cover features such as: Building an API server in Node - Integrating securely with a 3rd party API - Interacting with a Postgres database using Prisma.

  13. 13
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Create a Fully Animated Sidebar in React.js using Framer Motion

    Learn how to create a fully animated sidebar in React.js using Framer Motion. Framer Motion is a powerful animation library for React that allows you to add smooth and professional animations to your projects. The tutorial guides you step by step through implementing a complete animated sidebar component, enhancing it with animations using Framer Motion.

  14. 14
    Article
    Avatar of habrhabr·3y

    React Custom Hook: useStorage

    Discover the potential of React custom hooks with a focus on the 'useStorage' hook. It provides convenient functions for storing and retrieving data in the browser's local or session storage. The hook handles serialization, deserialization, and automatic synchronization with the component's state. The remove function allows for easy deletion of stored values. Use the hook in various scenarios, such as persisting user preferences in a settings panel.

  15. 15
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    How to Use URLs for State Management in React

    URLs are stepping up to play a pivotal role in state management in React. They can save your spot, make sharing specific views easier, and help developers troubleshoot issues faster. Implementing URL-based state management in React involves setting up the environment, clearing the clutter, fetching data and designing the UI, storing state in the URL, and reading the state stored in the URL. Real-world examples of using URLs for state management include e-commerce platforms and data tools.

  16. 16
    Article
    Avatar of itnextITNEXT·2y

    SOLID in React: the good, the bad, and the awesome

    This article discusses how to apply SOLID principles in React, focusing on the Single Responsibility Principle, the Open/Closed Principle, the Liskov Substitution Principle, the Interface Segregation Principle, and the Dependency Inversion Principle. It explores the separation of components into managers and workers, the importance of extension over modification, the concept of substituting supertypes with subtypes, the principle of depending only on necessary properties, and the inversion of dependencies through component composition in React.

  17. 17
    Article
    Avatar of communityCommunity Picks·3y

    Neobrutalism Components

    Neobrutalism Components is a package that provides a collection of React components for building user interfaces. The components include Accordion, Alert, Avatar, Badge, Button, Card, Checkbox, Drawer, Dropdown, ImageCard, Input, Marquee, Modal, Newsletter, RadioGroup, Select, Tabs, Textarea, and Tooltip.

  18. 18
    Article
    Avatar of asayerasayer·2y

    React Router for Beginners - A Complete 2023 Guide

    React Router is a library that helps in handling navigation and routing in a React application. It allows you to define different routes in your app and link them to their respective components without reloading the page. React Router provides complex navigation, seamless page navigation structure, and support for dynamic URLs. To set up React Router, you need to install the react-router-dom package, wrap your app's components with the BrowserRouter component, define routes using the Route component, and use the Link or NavLink component for navigation between routes.

  19. 19
    Article
    Avatar of communityCommunity Picks·3y

    Exploring React Server Components and Server Actions with Next.js

    React Server Components (RSC) are designed to run directly on the server and dynamically generate HTML that is sent to the client. They offer benefits like direct database querying and improved performance. Next.js implements RSC by combining server and client components to optimize performance. RSC differ from server-side rendering in that they are always pre-rendered on the server and only the HTML is sent to the client.

  20. 20
    Article
    Avatar of habrhabr·3y

    React Custom Hook: useStateWithHistory

    Explore the benefits and use cases of the useStateWithHistory custom React hook which provides automatic history tracking, efficient memory usage, and time-travel functionality.

  21. 21
    Article
    Avatar of habrhabr·3y

    React Custom Hook: useTimeout

    Learn about the useTimeout hook in React, which allows for easy setting, clearing, and resetting of timeouts within a component. The hook ensures that the callback function remains up to date and optimizes performance by memoizing certain functions. It can be used in various scenarios where timed actions are required.

  22. 22
    Article
    Avatar of hnHacker News·2y

    The open-source React.js LLM Agent

    The open-source React.js LLM Agent is an experiment to make GPT-4 more useful for web development. It generates and composes multiple React components based on user stories and atomic design principles. It uses technologies such as React, TailwindCSS, Typescript, and Radix UI, and it is completely open-sourced.

  23. 23
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    React Lifecycle Methods and Hooks – a Beginner's Guide

    Learn about the class component lifecycle methods and React hooks such as `useState`, `useEffect`, and `useContext`. Understand how to use them and their benefits in managing component behavior and state in React applications.

  24. 24
    Article
    Avatar of communityCommunity Picks·2y

    React Performance Booster - Introduction to the useMemo hook

    Learn about the useMemo hook in React, which allows you to optimize performance by memorizing expensive calculations. By using useMemo, you can ensure that the result of a computation is stored and only recalculated if necessary.

  25. 25
    Article
    Avatar of habrhabr·3y

    React Custom Hook: useStateWithValidation

    Explore the useStateWithValidation custom React hook, which combines the useState and useCallback hooks to provide an elegant solution for managing state with validation.