Juho Teperi
Juho Teperi
@p-himik Here's the example you linked converted to Reagent: https://github.com/reagent-project/reagent/blob/master/examples/react-sortable-hoc/src/example/core.cljs
It could make sense to add hiccup "shortcut", similar to `:>` which only does `create-element` without adapt-react-class or create Reagent component logic (latter is what happens when fn is the...
Considering adding two more shortcuts to control component/element creation: #494
E.g. Learn Reagent and Re-frame courses provide some examples on structuring projects: https://www.jacekschae.com/learn-re-frame-free?coupon=REAGENT The example app repos are public: https://github.com/jacekschae/learn-re-frame-course-files/tree/master/increments/complete/src/app https://github.com/jacekschae/learn-reagent-course-files/tree/master/increments/complete/src/giggin Re-frame template also generates project with several namespaces: https://github.com/Day8/re-frame-template...
I'm not sure about what to document as the official way, but if you have something urgent to report, you can send me an email.
Check the implementation: ``` (if push (rfe/push-state to path-params query-params) (rfe/replace-state to path-params query-params))) ``` push- and replace-state have docstrings that should describe parameters. I don't remember why this function...
I don't remember Location API having `goto` method but perhaps you refer to `window.location.assign` or `window.navigate`, or just `location.href = '/new-path'`. With hash routing, you cloud just assign `window.location.hash` new...
I've tested this works on Node when writing JS directly, and I've been unable to find the difference in Reagent code that causes the problem: https://gist.github.com/Deraen/4b2957ed3b8fe95c23f9693415a8b511 For now, I'm going...
Figwheel main serves files from the classpath prefix "public/". Cljsjs files aren't under that path so they aren't accessible at least with the default figwheel-main configuration. https://github.com/bhauman/figwheel-main#classpaths-classpaths-classpaths > It actually...
I looked into this, but I'm not sure if this makes sense. Track doesn't really have a current value that could be watched. Track is backed by a Reaction, that...