This is the working version for ai/rsc
recursive append
Next.js version 14.1.4
How to test:
bun i
bun run build && bun run start
To break it, upgrade Next.js to 14.2+ and run the same commands.
bun add next@latest react@latest react-dom@latest eslint-config-next@latest
bun run build && bun run start