This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-05-13
Channels
- # beginners (202)
- # boot (7)
- # cider (14)
- # clara (2)
- # cljs-dev (7)
- # clojure (56)
- # clojure-italy (9)
- # clojure-spec (6)
- # clojure-uk (12)
- # clojurescript (40)
- # core-async (3)
- # datomic (6)
- # duct (1)
- # editors (10)
- # emacs (5)
- # fulcro (24)
- # off-topic (16)
- # onyx (4)
- # pedestal (1)
- # planck (8)
- # portkey (2)
- # re-frame (31)
- # reagent (23)
- # tools-deps (8)
- # vim (3)
I'm making a small Sokoban game in re-frame, and I want some way of "simulating" cursor key movement on a touchscreen. I.e. I want an event to trigger when the player presses the left part of the screen etc... Do I need to create some big overlapping divs, or are there other ways?
@jco Perhaps the touch api can help? https://developer.mozilla.org/en-US/docs/Web/API/Touch
@eoliphant Can you show a small example of the "indexed entity approrach" pls?
I’d built this dynamic form tool with re-frame. And I’d modeled everything ‘naturally’ , and it was a nightmare lol. really deeply nested stuff. I then learned specter to help with it. But then I read about this approach, then just rewrote it like this.. But at least I learned specter lol
especially when you’re updating/inserting/etc you can do a lot of stuff with one-liners
Hi guys, I tried to run re-frame on clojure and it works for most parts but I am running into an issue where the event handlers are not being called after a dispatch. What should I look into ?