This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-02-11
Channels
- # beginners (79)
- # boot (21)
- # cider (28)
- # cljs-dev (1)
- # clojure (88)
- # clojure-italy (3)
- # clojure-russia (6)
- # clojurescript (49)
- # community-development (4)
- # cursive (37)
- # datomic (12)
- # editors (3)
- # emacs (33)
- # fulcro (15)
- # hoplon (9)
- # jobs-discuss (3)
- # keechma (3)
- # lein-figwheel (2)
- # luminus (3)
- # off-topic (146)
- # onyx (5)
- # portkey (11)
- # re-frame (34)
- # reagent (7)
- # reitit (5)
- # remote-jobs (1)
- # shadow-cljs (6)
- # unrepl (11)
We love shadow-cljs too
Is there a way to tell fulcro-inspect
to ignore certain keys in the db? I’ve just loaded 8k tags and it’s lagging an otherwise pleasant experience.
So, it’s not a rendering issue, per se, but probably something inspect is doing internally. I’m loading extra data during app initialization, it’s not being rendered anywhere on screen, it’s not being queried by any UI components, and the app is noticeably lagging even if fulcro-inspect
is disabled. Only way I’ve been able to fix the lag is to disable fulcro.inspect.preload
and app starts running smoothly.
@pithyless currently not, but shouldn't be hard to implement, this could be part of the setup configuration
would be intersting to investigate the root cause
on the make of spec I tried to reduce this as max as we can (like delaying processing of tx diffs to only when you open it)
but a big db shouldn't hit you hard, can you write a minimum case reproducing?
Any recommendations for data tables for use with fulcro? Thinking of integrating - https://medium.com/@tannerlinsley/why-i-wrote-react-table-and-the-problems-it-has-solved-for-nozzle-others-445c4e93d4a8 // https://github.com/react-tools/react-table
For best operation in the complete Fulcro model you just want something that uses minimal component local state…you want controlled components. If the component renders much outside of real data state, then you lose history features. Now, as long as those things are inconsequential (e.g. animation data), then it’s fine. If the components keep real state (like sort order), then you get more and more disconnected from the abilities of things like the support viewer, since that state is hidden. All that said, at the end of the day any react component will work unaltered with Fulcro…just send them props 🙂
Your bigger concern is getting access to the js code. I find that shadow-cljs works better when it comes to using external js libraries.
Thanks @U7GCXSGBH @U0CKQ19AQ. Integrating react-tools/react-table into fulcro probably more than I want to try at this point.