Fork me on GitHub
#fulcro
<
2020-11-12
>
stuartrexking01:11:32

Has anyone had trouble with RAD auto resolvers and datomic cloud? They appear to be generated but don’t resolve.

stuartrexking01:11:50

When I drop back to datomic it works fine.

xceno10:11:46

@stuartrexking i use rad with datomic cloud, my application runs as ion. no problems so far

Jason Jones17:11:35

Hello world. I’m new to fulcro, working through the YouTube tutorial, slowly but surely. In the third video, it shows the “inspector” developer add-in displaying initial state of the database. In my setup, I’ve replicated the tutorial exactly and it works, but the “inspector” add in tool shows “nil”, like there’s nothing there. I must be missing something simple but can’t seem to find root cause. Any thoughts? (see image below). Thanks!

3
tvaughan17:11:20

I don't know if this is the cause, but I do know that third-party cookies need to be allowed

dvingo17:11:48

you may want to double check your fulcro version is at the latest (https://clojars.org/com.fulcrologic/fulcro), there was some info about the inspector not working with older versions

Jason Jones17:11:06

Thanks for suggetsions. I think third party cookies are enabled. (see below)

Jason Jones17:11:50

I updated my deps.edn file to latest version of fulcro and restarted my server via “npx shadow-cljs restart” and then refreshed the browser page. Guess what? it works! Thank you.

fulcro 3
👍 6
Buidler21:11:10

If I want to display a button when I hover over a rendered component, do I just: 1. add a :thing/button-visible? key to the component's props with an initial value of false 2. hook up :onMouseOver to mutate this to have button-visible? as true 3. hook up :onMouseOut to mutate this to have button-visible? as false 4. add some conditional DOM logic based on the value of button-visible?

JAtkins21:11:13

1-3 might be the right solution, but also you might be able to get away with

.parent .button {
   display: none;
}

.parent:hover .button {
   display: unset;
}

❤️ 3