Code Monkey home page Code Monkey logo

react-suspense-course's Introduction

Build an App with React Suspense

Welcome!

We're going to have a great time exploring React's experimental Concurrent Mode.
Concurrent Mode is an exciting leap forward in user interface development.
It allows us to describe user interface transitions in beautiful detail.

Apps aren't static.
They move — responding to user input as they dart back and forth to the internet for data. Concurrent Mode and Suspense give us a language for those movements.

In this workshop we talk project setup, finding help, and what to expect from this very exciting — very experimental — feature.

This course is narrowly focused on Concurrent Mode and Suspense.
We will not cover adjacent topics like styling or code organization.

On Egghead

This course is available to egghead.io members or as a standalone course for $99.

Buy the course or membership here

Contact

If you have questions, hit me up on twitter — @chantastic — or via email (in my Github bio).

WARNING!!!

What we'll cover here is not "stable" React API.
It will likely change.

Who is this for?

This is an advanced React course.
I assume that you've built applications in React.

You could absolutely follow this tutorial with no React experience.
However, the patterns I'll demonstrate here won't feel necessary unless you've worked in a complex codebase.

The goal of this course isn't to teach React from scratch
But to showcase this glimpse of the future we have from React.

Why should you care?

Suspense will change the way you interact with data.
It also changes the way you control visual transitions between pending and loaded states.

What's the goal of this course?

My goal is that you walk into Suspense with a good understanding of the underlying principles.
We'll start with an introduction to the basics of Suspense.
We'll close with general component design and organization that I think will help you, regardless of Suspense.

Installation and usage

This is a standard create-react-app application.

  • Clone the repo
  • CD into the project directory (react-suspense-course by default)
  • Run yarn to install the deps
  • Run yarn start to start a development server

Course organization

  • src/index is the main app
    • Change lessons by changing the imported directory
  • src/lessons/ are all the workshop lessons
    • lessons are chronological
    • each lesson has a README.md with a lesson description and assignment
    • the solution to each lesson is the next lesson
  • complete is the completed application with everything in place

© 2019 Michael Chan

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

react-suspense-course's People

Contributors

chantastic avatar dependabot[bot] avatar marcusholmgren avatar spyros-uk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.