Fork me on GitHub
#clojurescript
<
2021-08-18
>
Deus Eks02:08:13

Good evening all: does anyone know if there is a library for clojure that basically does what the hanami xform (https://github.com/jsa-aerial/hanami#templates-substitution-keys-and-transformations ) function can do ? I love the way it does substitutions of value and wanted to get a library with JUST that functionality ? Does it exist ? if not…it’s ok.. i will use hanami for just that.. thanks3

Simon13:08:33

How would you debounce a reagent input component, while still allowing use of a formatter & parser such as number->currency & currency->number respectively?

Simon13:08:02

I found this tutorial, but it doesn't take into account that I would like to also use the :value prop for [:input in order to convert between the entered number 10000 to $ 100,000

p-himik13:08:45

Split the visual representation from the actual data being sent by using an additional internal ratom.

🙌 3
Simon15:08:49

Thanks, that solved the problem!

👍 3
Brandon Stubbs15:08:00

Is there any build tool that will allow me to statically generate a reagent or another lib page with hydration included? (similar to this -> https://nextjs.org/docs/basic-features/pages#static-generation-recommended)