How to render code videos with React (opens in new tab)
Most developers share code as screenshots. Carbon, ray.so, a quick crop from VS Code. They look fine, but they sit still in a feed full of motion, and most people scroll past. A short video of the same code, typing itself out, behaves very differently. It catches the eye for the first second, which is usually all you need. You can build this with React. The library is Remotion. Once you understand two things, that a frame is just a function of time, and that React already gives you everything...
Read the original article