It's ok to use React.memo on server component USED on a client component ?
Unanswered
Fire ant posted this in #help-forum
Fire antOP
More simple, does server component can re-render inside a client component ? Thank you.
4 Replies
@Fire ant React.memo is a performance optimization api for client component. as long as RSC are rendered on the server and their output is sent to the client as static content
so React.memo wouldn't provide any benefits in this context
Fire antOP
@James4u Ok thank you !
yr welcome! mark solution to close the thread