reactjs / server-components-demo

Demo app of React Server Components.
https://reactjs.org/server-components
MIT License
4.25k stars 633 forks source link

server: use fs.promises instead of fs/promises #40

Closed MylesBorins closed 3 years ago

MylesBorins commented 3 years ago

With this change, as well as a change to react-fs, this repo will be able to support Node.js 12 (tested locally).

I can't seem to find the repo for react-fs though to propose the change ¯\_(ツ)_/¯

sibelius commented 3 years ago

react-fs is inside React monorepo

MylesBorins commented 3 years ago

Ah thanks! For some reason the published module has the wrong repo / homepage

https://github.com/facebook/react/pull/20541

poteto commented 3 years ago

Thanks Myles and happy new year! I'll merge this one now, and when we land the react-fs change I'll look into lowering the node version requirement.