D

remix-js/v2/remix-1-replace-response-with-create-readable-stream

How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

ne place this is likely to surface and require a change is your app/entry.server.tsx file, where you'll also need to convert the Node PassThrough into a web ReadableStream via createReadableStreamFromReadable

Before

ts

After

ts

Ready to contribute?

Build your own codemod and share it with the community.