Fork me on GitHub
#reagent
<
2018-06-15
>
theeternalpulse07:06:46

how would I destructure an event argument for its keys?

theeternalpulse07:06:12

I know how to access it through interop but destructuring doesn't seem to work

pesterhazy07:06:35

Correct, it doesn’t work with js-objs

pesterhazy07:06:04

Interop Syntax or goog.obj/get

juhoteperi22:06:58

ClojureScript compiler npm support is again better in 1.10.312 (React CJS bundle now works correctly) and Webpack bundle use is now documented at http://clojurescript.org: https://github.com/reagent-project/reagent/blob/master/doc/0.8-upgrade.md

👍 4