Content pfp
Content
@
0 reply
0 recast
0 reaction

shahruz pfp
shahruz
@shahruz
has anyone come across examples of RSC component packages in the wild yet? meaning frontend components that are bundled with node.js logic, and dont require setting up any api endpoints manually
2 replies
0 recast
5 reactions

‍‍ pfp
‍‍
@git
What's the relation between api endpoint and RSC?
1 reply
0 recast
0 reaction

shahruz pfp
shahruz
@shahruz
the lack of a need for one… for example importing a react component for Stripe checkout in a nextjs app usually involves setting up a stripe catchall endpoint to go with it. RSC components might be able to simplify that over time
1 reply
0 recast
0 reaction

‍‍ pfp
‍‍
@git
Like this? https://rehype-pretty-code.netlify.app/#react-server-component
1 reply
1 recast
0 reaction