It's ok to use React.memo on server component USED on a client component ?
Unanswered
Long-legged ant posted this in #help-forum
Long-legged antOP
More simple, does server component can re-render inside a client component ? Thank you.
4 Replies
@Long-legged 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
Long-legged antOP
@James4u (Tag me if needed) Ok thank you !
yr welcome! mark solution to close the thread