This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-02-08
Channels
- # aleph (5)
- # announcements (3)
- # aws-lambda (24)
- # babashka (17)
- # beginners (59)
- # calva (168)
- # clerk (4)
- # clj-kondo (62)
- # clojure (77)
- # clojure-belgium (4)
- # clojure-brasil (10)
- # clojure-ecuador (3)
- # clojure-europe (41)
- # clojure-losangeles (2)
- # clojure-nl (2)
- # clojure-norway (24)
- # clojure-uk (2)
- # clojurescript (44)
- # clr (21)
- # community-development (7)
- # conjure (1)
- # cursive (6)
- # datalevin (15)
- # datomic (1)
- # deps-new (12)
- # emacs (45)
- # events (1)
- # fulcro (8)
- # funcool (7)
- # graphql (5)
- # hugsql (15)
- # jobs (2)
- # matcher-combinators (17)
- # meander (14)
- # membrane (31)
- # pathom (28)
- # pedestal (8)
- # practicalli (6)
- # re-frame (12)
- # releases (1)
- # remote-jobs (1)
- # shadow-cljs (32)
- # tools-deps (8)
- # vim (16)
Is there a way to mutate the fulcro db continuously, like in a background loop, without making inspect turn blank? I think it does that if it's waiting on too many transactions
Looks like you should be able to remove-watch
using the app uuid which is in your app state
https://github.com/fulcrologic/fulcro/blob/71ed79c650222567ac4a566513365a95f12657e3/src/main/com/fulcrologic/fulcro/inspect/inspect_client.cljc#L346
and then put the watch back after
After upgrading to Fulcro 3.6.0, I'm still getting the "Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot".
I see, I need to manually enable it. https://book.fulcrologic.com/#ReactCompatibility
@holyjak here is something that confused me about your articlehttps://fulcro-community.github.io/guides/tutorial-minimalist-fulcro/index.html#_an_overview_of_fulcro. You go into detail about "establishing edges in the client DB graph using initial-state". This is a fairly complicated thing, especially for a newbie (not that its bad design, like tony says, we are solving hard problems). Your explainer bubble is great on this topic (screenshot 1). However in example 7, you don't include the initial state piece required to make this work :root/accounts is never connected to anything (screenshot 2). If you copied and used this example, it would not work because its lacking the piece of data you described in screenshot 1. You don't need to include every detail in this small example, but this crucial detail is also not in one of your ;;LEFT OUT comments. Let me know if i'm misunderstanding something...
Thanks a lot for pointing out the problems, Tommy! I have now fixed it - see the site or https://github.com/fulcro-community/guides/commit/9e3e9fe51e9b5ea4ddbf88d4ecc2cb0c5a6fdf70