Fork me on GitHub

I updated a the dependencies of an app from fulcro 2.5.4 to 2.6.5. When I open the app now in chromium on first load server transactions run fine and the db gets filled but the ui does not update. When I click to another route and back it renders fine. In Firefox everything works fine. I tested a few versions, as of 2.6 chromium starts missing rerendering, 2.5.4 works fine. Has anybody seen something like that before? Is there something I have to pay special attention to?


The rendering algorithm changed in 2.6, but should work fundamentally the same. It is possible that your application was doing something that technically was not supported, and now that's being enforced, or it could be that you found an actual bug. I'd be interested in hearing more about your app


For example a load should technically have a :refresh option to indicate what should be refreshed, but the old rendering algorithm may have rendered it anyhow.


Should this be in addition to the :target option?


It might be due to df/load-action calls. But they do have {:marker false :target [:item-list :top :item-list/items]} set.


Technically, refresh is required. Fulcro only auto refreshes things that are loaded by ident or with a component reference.


I think in older versions loads did trigger a root refresh.


Yes, it's the ones that do not load by ident but by keywords.


Odd that it does not affect firefox.


Probably a timing thing. Could be the networking hits before the first animation frame or something.


Even after going from 2.6.4 to 2.6.5, I noticed no changes in my build size, in fact the two file have identical hash values. I’ve got about 40 components in my build. Shouldn’t @thheller’s recent PR cause some change?


Or do I have to opt-in somehow?


no it should definitely change the hash and size. although gzip deals with this pretty darn well so in the shadow-cljs UI the main module went down in size 6kb but only 200bytes after gzip (other modules changed more though)


yeah that’s why i’m confused, also i compared them without gzip