How do you print your components? #4050
Unanswered
briandipalma
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a requirement where I need to print an FX trade summary. It's easy enough to get the DOM using a
ref
and doing aninnerHTML
into aniframe
. The styles of course are all missing. Using server side rendering in the client rendering flow I can gather the styles like so:They are gathered and I can use them in the
iframe
but they aren't applied in the app. Ideally what I'd like to do is gather them but still apply them to the app. In essence client side styles gathering. Is there an easy way to do this or should I just manage my ownstyle
tag using the server side rendering strings?Beta Was this translation helpful? Give feedback.
All reactions