Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Modern Full-Stack React Projects
  • Table Of Contents Toc
Modern Full-Stack React Projects

Modern Full-Stack React Projects

By : Bugl
4.8 (9)
close
close
Modern Full-Stack React Projects

Modern Full-Stack React Projects

4.8 (9)
By: Bugl

Overview of this book

Understanding full-stack development is vital as companies aim to bridge the gap between frontend and backend development. Recent trends show deeper integration between the two, opening numerous possibilities for building real-world web applications, through server-side technologies like Node.js, Express, and MongoDB. Written by the author of Learning Redux and Learn React Hooks, and CEO of TouchLay, Modern Full-Stack React Projects will guide you through the entire process of advancing from a frontend developer to a full-stack developer. Starting with how to set up robust projects that can be maintained for a long time, you’ll then progress toward developing a backend system and integrating it with the frontend. Throughout the book, you’ll learn how to build, test, and deploy a blog application and a chat application. You’ll also explore MongoDB, Express, React, Node.js (MERN) stack, best practices for frontend and backend development, different full-stack architectures, unit and end-to-end testing, and deployment of full-stack web applications. Once you get to grips with the essential concepts, you’ll progress to learn how to use Next.js, an enterprise-grade full-stack web framework for React. By the end, you’ll be well-versed in the MERN stack and all set to create performant and scalable full-stack web applications.
Table of Contents (28 chapters)
close
close
1
Part 1:Getting Started with Full-Stack Development
4
Part 2:Building and Deploying Our First Full-Stack Application with a REST API
8
Part 3:Practicing Development of Full-Stack Web Applications
16
Part 4:Exploring an Event-Based Full-Stack Architecture
20
Part 5:Advancing to Enterprise-Ready Full-Stack Applications

Rendering React components on the server

In the previous section, we identified cascading requests as the problem for our bad performance on slow connections. Possible solutions to this problem are as follows:

  • Bundled requests: Fetch everything on the server and then serve everything at once to the client in a single request. This would solve the cascading requests when fetching author names, but not the initial waiting time between the HTML page being loaded and the JavaScript executing to start fetching the data. With a latency of two seconds per request, that’s still four seconds added (two seconds for loading the JavaScript and two seconds for making the request) after the HTML is fetched.
  • Server-side rendering: Render the initial user interface with all data on the server and serve it instead of the initial HTML that just contains a URL to the JavaScript file. This would mean that no additional requests are needed to fetch the data or JavaScript and we can show...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Modern Full-Stack React Projects
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon