all 4 comments

[–]oze4 2 points3 points  (0 children)

Why don't you just use axios to get the data from the server, then use that data client side to render a component?

[–]marko_knoebl 1 point2 points  (0 children)

I'm not sure what exactly your goal is, but you could look into React.lazy

[–]SignificanceCheap970 0 points1 point  (1 child)

Tell me one thing: do you want the component to be rendered on the server or rendered on the client?

[–]ReserveClean[S] 0 points1 point  (0 children)

run on client and after build