|
|
|
|
|
by mike1o1
429 days ago
|
|
It might be a contrived example, but I found the example of syntax highlighting a blog post to be a good example of the benefits of RSC. If you hydrate on the client, you need to run the same exact code on the server and again on the client - however, that means you now might need to bring in a big syntax highlighting library to the client. With RSC all of that is done server side, so you don't need to ship the syntax highlighting library. |
|