Fork me on GitHub
#fulcro
<
2020-09-27
>
tony.kay03:09:05

remember this requires Fulcro 3.4.0-SNAPSHOT or better

tony.kay03:09:13

I fixed the db flicker in this version

tony.kay03:09:22

I’ll be releasing a electron update shortly

tony.kay03:09:15

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.kay03:09:46

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.kay03:09:01

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.kay03:09:59

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

nivekuil06:09:10

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.kay17:09:36

@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.

nivekuil18:09:53

and thanks for doing so @U0CKQ19AQ :)

tony.kay18:09:48

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

tony.kay07:09:28

@kevin842 could be I just forgot something for cljc

tony.kay16:09:19

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.kay17:09:23

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.kay17:09:26

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.kay17:09:57

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)

🙏 15
zhuxun218:09:25

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.

zhuxun218:09:02

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

zhuxun218:09:12

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!!.