In this chapter, we will build the web pages of our demo application. The objective here is not to teach frontend development, but to demonstrate that you can use modern tools along with serverless. For this demo, we will use React, but you could use Angular, Vue.js, or any other tool, and still take advantage of the serverless features. Also, we will discuss the pros and cons of SPA from a serverless perspective and let's take a look at how we can prerender SPA pages for better Search Engine Optimization (SEO).
In this chapter, we will cover the following topics:
- How to use React to build our web pages
- Pros and cons of Single-Page Applications
- Prerendering pages for a better SEO
After this chapter, you'll have built the frontend of our serverless online store.