This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-07-02
Channels
- # babashka (68)
- # beginners (22)
- # calva (8)
- # cider (10)
- # cljs-dev (31)
- # clojure (35)
- # clojure-europe (6)
- # clojure-norway (17)
- # clojurescript (5)
- # conjure (10)
- # data-science (8)
- # datascript (10)
- # emacs (3)
- # fulcro (20)
- # humbleui (3)
- # london-clojurians (1)
- # membrane (9)
- # nbb (34)
- # off-topic (16)
- # pathom (15)
- # releases (1)
- # shadow-cljs (15)
- # sql (15)
TypeScript language is more about types than scripts. I'm trying to upgrade a form validation library to a next major version and I have only one question: why did they do this...
Not a direct answer for your question but maybe you will find https://clojure.wladyka.eu/posts/form-validation/ and https://github.com/kwladyka/form-validator-cljs helpful
I use TS and don't yet know if I want to go to cljs. But thanks, that's probably a nice lib. I found the problem eventually. Turns out the major version update was caused by the several class and field changes/renames. But they were minor. But figuring that out from types... It can capture the moved fieldnames in the same class and I could find them quite easily (not that a spec would be harder to look at). But if type doesn't encode how it was renamed then it's a problem. And it doesn't.
What's something exciting you learned about web development in the last year?
HTML DSLs unlock the full power of the host language while template engines confine the user to their own mini-language.
Atomic Design / Storybook
ServiceWorker API. But I have to say the applicability is more limited than I initially thought - use with caution 🙂
I think it will become much better if two things are finalized: background sync and tab sync.
tip for anyone learning/trying it out: I normally use FF but Chrome is miles ahead in terms of debugging and keeping track of ServiceWorkers.
Agreed. Safari is also worse than Chrome IMO
Recently, I’ve been learning about the various protocols making up https://indieweb.org/ and I find this approach to web development quite interesting.
i gained more understanding of HATEOAS, ex: client shouldn't build the whole url for the next http call.
or at least I feel competent in them now, having used them a lot the past year (especially flexbox), but i had used them before this past year
also i learned how to used indexeddb in the browser! i use it for caching search data on cljdoc