1. 程式人生 > >30天入坑React ---------------day28 Deployment Our App

30天入坑React ---------------day28 Deployment Our App

Deployment

Today, we'll look through some ready-to-go options so we can get our site up and running. By the end of today, you'll be able to share a link to your running application.

We left off yesterday preparing for our first deployment of our application. We're ready to deploy our application. Now the question is where

 and what are we going to deploy?

Let's explore...

What

While deploying a single page application has it's own intricasies, it's similar to deploying a non-single page application. What the end-user's browser requests all need to be available for the browser to request. This means all javascript files, any custom fonts, images, svg, stylesheets, etc. that we use in our application need to be available on a publicly available server.

Webpack takes care of building and packaging our entire application for what we'll need to give the server to send to our clients. This includes any client-side tokens and our production confi...

LEARN REACT THE RIGHT WAY

The up-to-date, in-depth, complete guide to React and friends.