kentcdodds / super-simple-rsc

React Server Components and Actions without dependencies
34 stars 1 forks source link

This demo is pure gold. createContext not exported member of react #1

Closed KoderFPV closed 5 months ago

KoderFPV commented 5 months ago

Hi,

This demo app is super awesome. Excellent skills showcase of deep understanding react itself. Literally, no dependencies is mind-blowing.

However, when trying to start app I got an error

image

We also have problems with context in the case of RSC in our project, and as usual use client directive at the top of file didn't help. Do you know how to solve this kind of issue?

Thanks anyway for makes react ecosystem better place on earth :)

kentcdodds commented 5 months ago

Hi @KoderFPV!

I should update the README for this project. I turned it into a workshop. You can see the material here: https://github.com/epicweb-dev/react-server-components

Much better learning experience there!