fulcro

Book: http://book.fulcrologic.com, Community Resources: https://fulcro-community.github.io/, RAD book at http://book.fulcrologic.com/RAD.html
tony.kay 2020-09-27T03:31:53.039100Z

For those of you wanting to try the new Inspect in chrome: https://github.com/fulcrologic/fulcro-inspect/releases/tag/chrome-3.0.0-RC1

tony.kay 2020-09-27T03:32:05.039400Z

remember this requires Fulcro 3.4.0-SNAPSHOT or better

tony.kay 2020-09-27T03:32:13.039600Z

I fixed the db flicker in this version

tony.kay 2020-09-27T03:32:22.039900Z

I’ll be releasing a electron update shortly

tony.kay 2020-09-27T03:47:15.042Z

Fulcro 3.4.0 is now on Clojars. This version requires the new version of Inspect (released above). • Upgrades inspect protocol for less dev-time overhead, which also fixes bug where db goes blank in inspect • Fixes a regression with computed props on targeted updates • Fixes UISM load’s spec to allow for nil as the query component (which matches df/load)

tony.kay 2020-09-27T03:47:46.042700Z

I am going to hold off on the Chrome store release of Inspect for a while (I don’t want people that don’t follow the channel to be surprised by inspect “breaking” on their older Fulcro app), but it is easy enough to manually upgrade the Chrome extension using the release of Inspect above.

tony.kay 2020-09-27T03:49:01.043500Z

I’ll be placing a “legacy” version of the chrome plugin in releases, so when I do upgrade it people will be able to easily downgrade.

tony.kay 2020-09-27T03:55:59.043800Z

For reference, here is that legacy version for Chrome: https://github.com/fulcrologic/fulcro-inspect/releases/tag/1.0.21

nivekuil 2020-09-27T06:55:10.043900Z

trying out the new error-boundary macro in a cljc, and the JVM repl complains: No such var: com.fulcrologic.fulcro.react.error-boundaries/￱*￱error-header￱*￱ I guess we need to define these vars ourselves for cljc?

tony.kay 2020-09-27T17:30:36.047Z

@kevin842 I made some patches for Dom-related things, but the error you’re seeing might be a transient caching issue of compile or something. I cannot reproduce that. I’ve tried with cljs files, cljc files, web-based, and native.

nivekuil 2020-09-27T18:39:53.049400Z

and thanks for doing so @tony.kay :)

tony.kay 2020-09-27T18:40:48.049600Z

oh, error-header…yeah, that was left over cruft..I see now

tony.kay 2020-09-27T18:40:49.049800Z

cool

tony.kay 2020-09-27T07:27:28.044200Z

@kevin842 could be I just forgot something for cljc

tony.kay 2020-09-27T16:54:19.046Z

ah, there is at least one problem with the error boundaries…dom should not be a hard dep there, or it won’t work with native 😕

tony.kay 2020-09-27T17:08:23.046700Z

I’ll do bit more testing against CLJC files with both DOM and native. I think I was developing that one with only DOM in mind, and didn’t refine it quite enough

tony.kay 2020-09-27T17:52:26.047700Z

Fulcro 3.4.1 on clojars. Cleans up error boundaries so they can be used in mobile. Fixes a custom type issue with the new inspect.

tony.kay 2020-09-27T17:53:57.048700Z

Also released an update to the F3 port of workspaces https://github.com/awkay/workspaces with a fix for test card types supplied by @frederic (version 1.0.2)

🙏 5
zhuxun2 2020-09-27T18:49:25.050700Z

There might have been a typo in the book (in the "4.6.2. Fulcro 3.2 Inputs" section): http://book.fulcrologic.com/#Inputs32 > The mutation helpers in the mutations namespace (toggle!, set-string!, set-integer!, and set-value!) use transact!!, so they will all function properly.

zhuxun2 2020-09-27T18:50:02.051500Z

In the source code, set-value! etc. use transact! not transact!!

zhuxun2 2020-09-27T18:51:12.052600Z

Plus the quoted sentence above contradicts with a sentence couple lines down: > The mutations namespace now also includes set-string!!, set-integer!!, etc. These are identical to their single ! counterparts, except they use synchronous transact!!.

tony.kay 2020-09-27T20:34:57.053Z

correct