-
Book Overview & Buying
-
Table Of Contents
Full Stack Web Development with Remix
By :
In this chapter, we created our first Remix application. We used Remix’s create-remix CLI script to bootstrap one Remix app with the basic template and one using Remix’s Express.js template.
By following this chapter, you have learned how to build and run Remix applications locally using npm run dev and npm run build. More importantly, you understand where to find all available scripts (package.json) and additional information for running a specific template (README.md).
We reviewed Remix’s file and folder structure. After reading this chapter, you know about the client and server entry points: entry.client.tsx and entry.server.tsx.
We also spent some time investigating the root.tsx file. The root.tsx file acts as the root of the route tree. Remix utilizes React to render the full HTML document, including the head, bundled scripts, links, and meta tags. This provides full control over what is rendered on the screen.
We changed the code of the...