This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-08-21
Channels
- # announcements (20)
- # beginners (31)
- # biff (8)
- # cherry (5)
- # cider (4)
- # cljs-dev (1)
- # clojure (26)
- # clojure-australia (2)
- # clojure-europe (16)
- # clojure-spec (10)
- # community-development (8)
- # conjure (1)
- # core-async (1)
- # data-oriented-programming (1)
- # data-science (54)
- # datascript (10)
- # fulcro (1)
- # graalvm (2)
- # malli (5)
- # off-topic (3)
- # pathom (23)
- # rdf (1)
- # re-frame (6)
- # reitit (11)
- # shadow-cljs (6)
- # squint (2)
- # xtdb (33)
hello all, what happen if I use global interceptor to validate specs and I have 2000 rows in re-frame database? It will block the UI until the end or it will run async?
Async things will still block the UI - because there's only one thread. If validating all data in a single go takes too much time, you can always split the data into batches and use the approach described at https://github.com/day8/re-frame/blob/master/docs/Solve-the-CPU-hog-problem.md
I think I have a problem with my spec structure, because it does the checking once and I can't split it into parts to been process as chunks.