tonsky / rum

Simple, decomplected, isomorphic HTML UI library for Clojure and ClojureScript
Eclipse Public License 1.0
1.79k stars 125 forks source link

How can I use npm based react library I rum ssr mode #258

Closed idhowardgj94 closed 1 year ago

idhowardgj94 commented 1 year ago

As title, I would like to try to implement a full stack web application use rum,

but now I have a question, if I want to use the ssr feature, how do I define my view if this view contain npm base 3 party library?

tonsky commented 1 year ago

Like, from node.js? Our SSR is Clojure-based, there’s no SSR in js library

idhowardgj94 commented 1 year ago

Yes, like to use 3 party hi kit library like mui, so there is no chance to use npm base ui kit in ssr render?

tonsky commented 1 year ago

I never tried. But technically it’s still React, so maybe React solutions will apply?

idhowardgj94 commented 1 year ago

I get thx, I'll try it. Close this issue now because its not a bug