Reader small image

You're reading from  Full Stack Web Development with Remix

Product typeBook
Published inNov 2023
Reading LevelIntermediate
PublisherPackt
ISBN-139781801075299
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Andre Landgraf
Andre Landgraf
author image
Andre Landgraf

Andre is a full stack developer from Germany. He graduated with an MS in Information Systems from the Technical University of Munich and was also awarded an MS in Computer Science from Sofia University in Palo Alto. Andre currently lives in Cupertino, California, and he works as a Software Engineer at LinkedIn. Andre loves learning, writing, and speaking about all things web. In his free time, he tutors aspiring developers and builds for the web.
Read more about Andre Landgraf

Right arrow

Working with Remix's route module API

Remix takes on the responsibilities of a compiler, a runtime, and a router. In Remix, you create routes (route modules) as part of a hierarchy. Among other things, Remix’s router determines which route modules to match and render on a request.

This section will walk you through the creation of route modules in Remix. You will learn how to create standalone pages and understand how routes tie back to the root.tsx file. You will further understand how index routes fit into the picture (or, I should say, on a screen). Finally, the section will introduce you to the different available exports that route modules can expose.

Route file-naming conventions

Before we get started, note that Remix switched to a new route file-naming convention with Remix v2. This book follows that convention.

If you are new to Remix, then this chapter will get you started with Remix’s latest convention. If you have prior experience with Remix...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Full Stack Web Development with Remix
Published in: Nov 2023Publisher: PacktISBN-13: 9781801075299

Author (1)

author image
Andre Landgraf

Andre is a full stack developer from Germany. He graduated with an MS in Information Systems from the Technical University of Munich and was also awarded an MS in Computer Science from Sofia University in Palo Alto. Andre currently lives in Cupertino, California, and he works as a Software Engineer at LinkedIn. Andre loves learning, writing, and speaking about all things web. In his free time, he tutors aspiring developers and builds for the web.
Read more about Andre Landgraf