Fork me on GitHub
#re-frame
<
2021-10-29
>
Ryan14:10:54

Am I going to want to swap my fn-traced for plain fns in production? Or is there a mechanism for doing it automagically? 🙂

p-himik15:10:17

IIUC, in your CLJS build config you have something like

:closure-defines {re-frame.trace.trace-enabled? true}
When the value is false (which appears to be the default), the fn-traced effectively becomes an alias for fn.

Ryan16:10:14

Perfect, thanks as always! Getting closer to my first cljs project shipping!

👍 2