React Starter: The Ways to Use React
Before we can jump into learning more about the specifics of React, it's important to talk about all the ways we can use React.
This will give us a good mental overview to see how React can be added to any project. In a nutshell, it comes down to the following:
React can be used by:
Adding React to an existing site
Using React to create a fully single page app
Let's talk about the difference between an existing site and single page apps (SPA). React is a great fit for both scenarios. It's ability to scale based on the project, small or large, is one of the main reasons React is loved by so many.
Adding React to an Existing Site
If you've already got a website and want to add React, it's a two-step process. Usually you'll have a website that's served with a server-side language (PHP...