fulcro

Book: http://book.fulcrologic.com, Community Resources: https://fulcro-community.github.io/, RAD book at http://book.fulcrologic.com/RAD.html
stuartrexking 2020-11-12T01:12:32.143200Z

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

stuartrexking 2020-11-12T01:12:50.143500Z

When I drop back to datomic it works fine.

xceno 2020-11-12T10:14:46.144100Z

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

Jason Jones 2020-11-12T17:36:35.148600Z

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!

✅ 1
tvaughan 2020-11-12T17:47:20.148900Z

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

2020-11-12T17:49:48.149100Z

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 Jones 2020-11-12T17:57:06.149400Z

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

Jason Jones 2020-11-12T17:58:50.149800Z

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.

👍 2
1
2020-11-12T18:19:55.150200Z

nice!

2020-11-12T21:36:10.153300Z

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?

JAtkins 2020-11-12T21:45:13.153700Z

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;
}

❤️ 1
2020-11-12T21:48:18.154Z

Thanks.