Picking a deployment target
One of Remix’s most significant features is its flexibility. Remix supports many different web servers and runtime environments, including serverless and edge environments. Selecting a template also means choosing a JavaScript runtime, a hosting environment (server, serverless, edge), and potentially a hosting provider platform. To decide which template to pick for a project, we need to know the pros and cons of the different deployment targets to make an informed decision. In this section, we provide an overview of popular templates and adapters and review their differences.
In the previous chapter, we created a new Remix application using the create-remix
CLI script. In the process, we had to specify a template or use Remix’s basic template. The Remix team and community maintain adapters and templates for many different deployment targets. A template bootstraps a new Remix app with the required web server code. The web server code is not...