Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Full Stack Web Development with Remix

You're reading from   Full Stack Web Development with Remix Enhance the user experience and build better React apps by utilizing the web platform

Arrow left icon
Product type Paperback
Published in Nov 2023
Publisher Packt
ISBN-13 9781801075299
Length 318 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Andre Landgraf Andre Landgraf
Author Profile Icon Andre Landgraf
Andre Landgraf
Arrow right icon
View More author details
Toc

Table of Contents (23) Chapters Close

Preface 1. Part 1 – Getting Started with Remix
2. Chapter 1: The Era of Full Stack Web Frameworks FREE CHAPTER 3. Chapter 2: Creating a New Remix App 4. Chapter 3: Deployment Targets, Adapters, and Stacks 5. Chapter 4: Routing in Remix 6. Part 2 – Working with Remix and the Web Platform
7. Chapter 5: Fetching and Mutating Data 8. Chapter 6: Enhancing the User Experience 9. Chapter 7: Error Handling in Remix 10. Chapter 8: Session Management 11. Chapter 9: Assets and Metadata Handling 12. Chapter 10: Working with File Uploads 13. Part 3 – Advanced Concepts of Full Stack Web Development with Remix
14. Chapter 11: Optimistic UI 15. Chapter 12: Caching Strategies 16. Chapter 13: Deferring Loader Data 17. Chapter 14: Real Time with Remix 18. Chapter 15: Advanced Session Management 19. Chapter 16: Developing for the Edge 20. Chapter 17: Migration and Upgrade Strategies 21. Index 22. Other Books You May Enjoy

Creating a “Hello World!” Remix app

This section walks you through the creation of a new Remix application using the create-remix CLI script. The script is maintained by the Remix team and used to bootstrap new Remix projects:

  1. Open a new terminal window and run the following command:
    npx create-remix@2

    We use npx to execute the create-remix script. npx is part of npm and stands for Node Package Execute. The command lets us run remote node scripts locally on our machine – pretty nifty!

    Note that we specify to use the latest available version of create-remix v2. The examples in this book are based on Remix v2. By adding the @2 postfix to the package name, we ensure that our first demo application installs a Remix v2 application.

    For projects outside of this book, we recommend using the following command instead to work with the latest stable version of Remix:

    npx create-remix@latest
  2. If you are asked by npx to install create-remix, enter y to answer with yes...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime