This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-08-14
Channels
- # announcements (31)
- # babashka (9)
- # beginners (4)
- # calva (67)
- # cider (6)
- # clj-yaml (10)
- # clojure (105)
- # clojure-austin (8)
- # clojure-bay-area (1)
- # clojure-europe (12)
- # clojure-germany (3)
- # clojure-nl (1)
- # clojure-norway (7)
- # clojure-uk (2)
- # clojurescript (5)
- # core-logic (4)
- # data-science (29)
- # datomic (6)
- # dev-tooling (5)
- # emacs (3)
- # hyperfiddle (22)
- # introduce-yourself (4)
- # lsp (8)
- # malli (10)
- # off-topic (8)
- # pathom (74)
- # polylith (39)
- # practicalli (1)
- # reitit (3)
- # shadow-cljs (2)
- # spacemacs (3)
- # squint (4)
- # tools-deps (4)
Hi everyone,
I'm creating a very basic notes app in clojurescript.
Here's details about my db, view and events files https://pastebin.com/MFm7uwFt
I'm facing a weird issue where if i call (event/remove-element 2)
directly in REPL then in browser I can see the note with id 2 getting removed but if I do it using a button from view then it doesn't work.
1. I ran individual lines from remove-element in REPL and it works
2. The console log files from both button on-click function and remove-element function are printed so they are getting called
Any ideas why it is not working when I'm trying using html button click listener?
Yes @U018D6NKRA4, I have initial data with simple id (1,2,3) and user generated ids (uuid) For either of them, if I use ‘remove-element’ in REPL it works and using button it doesn’t work