This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-01-13
Channels
- # announcements (13)
- # beginners (52)
- # bitcoin (2)
- # calva (2)
- # cider (7)
- # clara (1)
- # clj-commons (11)
- # clj-kondo (6)
- # cljdoc (14)
- # clojure (68)
- # clojure-belgium (1)
- # clojure-denmark (6)
- # clojure-europe (57)
- # clojure-nl (2)
- # clojure-norway (10)
- # clojure-uk (3)
- # clojurescript (7)
- # code-reviews (17)
- # conjure (1)
- # cursive (5)
- # dev-tooling (11)
- # emacs (9)
- # fulcro (12)
- # hugsql (20)
- # introduce-yourself (6)
- # joyride (2)
- # leiningen (1)
- # lsp (61)
- # malli (30)
- # missionary (11)
- # nbb (6)
- # off-topic (26)
- # portal (5)
- # practicalli (5)
- # re-frame (8)
- # releases (8)
- # sci (21)
- # shadow-cljs (3)
- # sql (17)
- # squint (1)
- # xtdb (3)
I've been following the Fulcro video tutorials with Fulcro 3.6.0-RC3 and it looks it renders everything, not only the parents of the affected component. In comparison, the Fulcro 3.5.34 works correctly. I opened a ticket with screenshots and link to repo showing the issue: https://github.com/fulcrologic/fulcro/issues/526
Thanks @grzegorz.rynkowski. Yes, it seems there was a regression. I’ve pushed 3.6.0-RC4-SNAPSHOT (sha aabd3ca9e7b25262aea4814a9c6e6a0f53746f7c). If anyone feels like testing that on a larger app to look for breakage I would apprecaite it. All the tests pass, and in my UI testing so far has not found any problems.
The reproducible setup is available here:
• repo: https://github.com/rynkowsg/fulcro3-yt-tutorial/
• branch: 230113-try-fulcro-rc4
More info in the issue comment https://github.com/fulcrologic/fulcro/issues/526#issuecomment-1381699079.
I could not repro that in my own code, but I saw it misbehave in yours…possible compiler weirdness, the macro was misbehaving. I change the macro implementation and now it works for both.
Correct me if I’m wrong, but will-leave
/ allow-route-change?
cannot be used to implement a (js/window.confirm)
popup on route leave? That would require allow-route-change?
to be allowed to side-effect.