Skip to content

How to evaluate the output of an esbuild build? #1857

Answered by ChristianMurphy
behrangsa asked this question in Q&A
Discussion options

You must be logged in to vote

The output is a react component.

You can render it server side with renderToString (https://reactjs.org/docs/react-dom-server.html#rendertostring) or your preferred server side framework.
Or import it and use it as you would any other component client side.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@behrangsa
Comment options

@ChristianMurphy
Comment options

Answer selected by behrangsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants