Course Code for Building Server-side Rendered React Apps for Beginners on Pluralsight
Course | Release Date |
---|---|
Using Hooks in React 18 | November 2022 |
What is React | August 2022 |
What's New in React 18 | May 2022 |
Data and UI Patterns in React | December 2021 |
The master branch here is the latest updates to the Pluralsight course published by Peter Kellner in December of 2018 in the master branch.
This GitHub repo includes source for all modules of the course that involve code.
Before you start, you should install node on either your Windows or Mac computer (those are the two environments that are tested). Below, in "Getting Started" are the basics to get module 6 up and running as fast as possible.
- Install Node 10.1.0 with NPM 5.6.
- Clone this repository. -
git clone https://github.com/pkellner/pluralsight-course-server-side-rendered-react-nextjs
or download the zip - **Set the default directory to which module you want (example: cd m3-Building-Data-Driven-SSR-App/I-NextJS-GetInitialProps -
cd m3-Building-Data-Driven-SSR-App/I-NextJS-GetInitialProps
- Install Node Packages with Dependencies. -
npm install
- Install this chrome extension for viewing performance data (optional).
- **Run the web app -
npm run dev
Special Note: Many examples require your local json server be running. If you get an error including "map" it means the data array trying to be mapped over does not exist. Remember you need to start the json-server by typing npm run json-server
It is suggested that you clone or download this repository to your local computer while you are watching the course. If you are planning on watching the course without coding along, this will give you a nice view into the source files for every clip and what the completed files look like at the end of that module.
If, you plan on coding along, there are parts in the course where it will be helpful to be able to cut and paste code from the completed modules to continue. For things like css and other assets, you will need to copy those into your working project to continue. Having the source downloaded and along side your project will be very helpful.
To run each of these scripts, cd into the appropriate direct ( example: m3-Building-Data-Driven-SSR-App/I-NextJS-GetInitialProps
)
then run the script name as follows:
npm run dev
In several modules, you may see a directory named _experimental
. The project in this directory may or may not be working. It may contain
test files or work in progress files for other students. You can ignore that directory whenever you see it.