Best of ReactApril 2024

  1. 1
    Article
    Avatar of communityCommunity Picks·2y

    New Features in React 19 – Updates with Code Examples

    React 19 introduces new features such as the React compiler, server components, actions, web components, enhanced hooks, asset loading, and form hooks. These changes aim to improve performance, simplify coding, and enhance the user experience.

  2. 2
    Article
    Avatar of devtoDEV·2y

    Best Icon Libraries for a Dev in 2024

    Discover the top icon libraries every developer should consider in 2024. These libraries offer high-quality icons, extensive collections, and easy integration with React projects, enhancing the visual appeal and functionality of digital experiences.

  3. 3
    Article
    Avatar of devtoDEV·2y

    How I Structure my React Projects

    Learn how to structure your React projects for better organization and clarity. Use absolute imports for cleaner and more readable import statements. Use the index.ts file as the public API of each feature.

  4. 4
    Article
    Avatar of devtoDEV·2y

    Optimising React Apps

    This article discusses the approach to optimizing React applications, addressing common performance challenges and exploring various optimization techniques. It highlights the importance of trade-offs in software optimization and provides a real example to demonstrate the process. It also mentions potential optimizations such as bundle splitting, lazy loading, server-side rendering, and using web workers and web assembly for computation-heavy applications.

  5. 5
    Article
    Avatar of devtoDEV·2y

    Bun or Node.js in 2024?

    A comparison between Bun and Node.js for web development in 2024. Learn about the key differences, speed, and suitability for startups and small teams.

  6. 6
    Article
    Avatar of phProduct Hunt·2y

    20+ Free Tailwind CSS & React Blocks - Fully Coded UI Sections with Designer File Included

    A collection of completely free blocks styled with Tailwind CSS for React websites and applications. Fully coded and customizable with a Figma designer file included!

  7. 7
    Article
    Avatar of devtoDEV·2y

    Things that I like better in Vue than in React

    Vue has several features that stand out against React, including a more interactive installation process, an intuitive reactivity system, single-file components for better organization, and a more readable approach to conditional rendering. Vue also offers computed properties for handling complex logic and a streamlined state management solution with Pinia.

  8. 8
    Article
    Avatar of communityCommunity Picks·2y

    🥇The first framework that lets you visualize your React/NodeJS app 🤯

    Wasp Studio is a full-stack React, NodeJS, and Prisma framework that visualizes your entire full-stack app. It provides features like auth, cron jobs, routes, and email sending. Wasp Studio has potential for adding new functionality, collaborates with AI and Large Language Models, and simplifies code generation.

  9. 9
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    What's the difference between React and Next.js?

    Learn the difference between React and Next.js, understand their use cases, and how they impact web application development.

  10. 10
    Article
    Avatar of communityCommunity Picks·2y

    How to Use TanStack-Query to Write Cleaner React Code as a Junior Developer

    Learn how to use React Query to write cleaner React code as a junior developer. Understand the difference between client state and server state, install React Query in your project, and replace data fetching code and states with the useQuery hook.

  11. 11
    Article
    Avatar of communityCommunity Picks·2y

    Next.js: The Future Of React?

    Next.js is a React framework for building full-stack web applications. It provides extra functionalities on top of React.js, including server-side rendering (SSR) and improved SEO. Next.js offers benefits such as improved performance, enhanced SEO, and easy caching of rendered data. In comparison to React.js, Next.js solves problems related to search engine indexing and website previews. It is a valuable addition to the tech stack for those who prioritize SEO and performance. As for the future of React.js and frontend development, Next.js offers powerful features and tools that contribute to its growing popularity.

  12. 12
    Article
    Avatar of tkdodoTkDodo·2y

    Zustand and React Context

    Zustand is a simple and fast library for global client-state management. However, using global stores in Zustand can have drawbacks, such as difficulty initializing the store with props, complex testing, and lack of reusability. To solve these issues, React Context can be used to share the store instance while keeping the store values isolated. By combining Zustand with React Context, it becomes easier to initialize the store with props, simplify testing, and achieve component encapsulation and reusability.

  13. 13
    Article
    Avatar of programmingdigestProgramming Digest·2y

    4 Software Design Principles I Learned the Hard Way

    Learn software design principles, improve code reusability in React components, and understand the essential log levels for logging.

  14. 14
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    Learn React Router v6 – Full Course

    Learn React Router v6 with a full course on the freeCodeCamp.org YouTube channel. Master the essential library for single-page applications and implement dynamic routing in your web application.

  15. 15
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    React State vs Refs – Differences and Use Cases

    A thorough comparison of React state and refs, exploring their suitability for specific scenarios.

  16. 16
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How To Use CSS Variables – Explained with Code Examples

    Learn how to use CSS variables to reduce code repetition and improve styling. This guide covers basic examples in plain HTML and CSS to more advanced examples in React and Next.js.

  17. 17
    Article
    Avatar of devtoDEV·2y

    Create React App with Wing

    Learn how to create a React app connected to a Wing backend and fetch data from it

  18. 18
    Article
    Avatar of asayerasayer·2y

    Interactive Maps in React with Leaflet

    Learn how to add interactive maps in React using Leaflet.js. Discover the benefits of using interactive maps on websites and explore the best scenarios to incorporate them into an application.

  19. 19
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Build a Marquee Component with React

    Learn how to build an engaging marquee component in React with this step-by-step guide. Discover the benefits of marquee components, how to plan and design them, and best practices for development

  20. 20
    Article
    Avatar of asayerasayer·2y

    HTMX vs. Vue and React -- Pros and Cons

    This post compares HTMX, Vue, and React JavaScript frameworks, highlighting their differences, pros, and cons. It discusses the core differences between HTMX, Vue, and React, examines the strengths and weaknesses of HTMX, React, and Vue, and provides use cases for each framework. The post also showcases how to work with HTMX, React, and Vue to create a CRUD task list application, and compares the code required in each framework.

  21. 21
    Video
    Avatar of t3dotggTheo - t3․gg·2y

    From 0 to Production - The Modern React Tutorial (RSCs, Next.js, Shadui, Drizzle, TS and more)

    This post is a production-ready React tutorial that showcases how to build production apps using the T3 stack, Next.js, and various other technologies. It also includes recommended hosting solutions and introduces the concept of server components in Next.js.

  22. 22
    Article
    Avatar of communityCommunity Picks·2y

    How to build: a v0.dev clone (Next.js, GPT4 & CopilotKit)

    Learn how to build a clone of Vercel's V0.dev using Next.js, GPT4, and CopilotKit. The article covers integrating CopilotKit into your React app, the requirements for building a v0 clone, and what CopilotKit is.

  23. 23
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Build a TODO App from Scratch with React.js

    Learn how to build a TODO app from scratch with React.js. The tutorial covers the steps to set up a React app with Next.js, creating different components, adding new TODOs, marking TODOs as completed, editing and deleting TODOs, and persisting the TODO data in localStorage.

  24. 24
    Article
    Avatar of communityCommunity Picks·2y

    alan2207/bulletproof-react: 🛡️ ⚛️ A simple, scalable, and powerful architecture for building production ready React applications.

    A repo that presents a simple, scalable, and powerful architecture for building production-ready React applications, providing resources and best practices for developers.

  25. 25
    Article
    Avatar of asayerasayer·2y

    TanStack Form: All-in-one Form Handling for React

    Explore TanStack Form, a powerful solution for form handling in React apps. It offers features such as reactive data binding, validation, accessibility, and seamless integration with React and other frameworks.