Fork me on GitHub
#rum
<
2024-05-22
>
TJ Campanella18:05:21

Does anyone know exactly what rum's defc does vs a normal defn in the context of server side rendering without react

Niki14:05:18

No difference

TJ Campanella14:05:41

Ah ok figured so all the escaping and compiling is done via the render-static-markup function then and I don't have to worry about always using defc?

Niki16:05:35

IIRC, no. As long as you don't need to share code with client-side

TJ Campanella17:05:38

Ok cool thanks