WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

sosumit001/react-ssr-from-scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alt Text

React SSR Application from Scratch

This repository will guide you through all the basic building blocks required to create a server-side rendering (SSR) application using ReactJS.

Chapters Overview

  • Objective: Learn to set up a basic Express server.
  • Contents:
    • Display the text "Hello, World" on the server.
    • Introduce Nodemon for live reloading, demonstrating how to update the displayed message to "Hello, World!"
  • Objective: Understand the role of Rollup in our SSR setup and configure it for the project.
  • Contents:
    • Introduction to Rollup and its core functionalities.
    • Configure Rollup to compile in a Node.js environment using the CommonJS and nodeResolve plugins.
    • Discuss the importance of the external property to prevent the bundling of Node modules.
  • Objective: Implement server-side rendering with React.
  • Contents:
    • Use renderToString to render React components on the server.
    • Transition to using JSX in our project and set up the necessary Babel configuration to make Node.js understand JSX.

Installation

To get started with the project, clone the repository and install the necessary dependencies:

git clone https://github.com/sosumit001/react-ssr-from-scratch.git
cd react-ssr-from-scratch
npm install

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published