This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-11-22
Channels
- # 100-days-of-code (1)
- # adventofcode (21)
- # announcements (2)
- # beginners (44)
- # calva (1)
- # cider (2)
- # cljdoc (16)
- # cljs-dev (70)
- # cljsrn (29)
- # clojure (66)
- # clojure-austria (1)
- # clojure-europe (4)
- # clojure-finland (1)
- # clojure-hamburg (1)
- # clojure-italy (24)
- # clojure-nl (3)
- # clojure-uk (127)
- # clojurescript (30)
- # core-typed (3)
- # cursive (34)
- # data-science (2)
- # datomic (16)
- # duct (17)
- # editors (1)
- # emacs (4)
- # figwheel-main (4)
- # fulcro (40)
- # hoplon (2)
- # instaparse (5)
- # kaocha (4)
- # leiningen (1)
- # luminus (4)
- # nrepl (46)
- # off-topic (5)
- # onyx (2)
- # other-languages (55)
- # parinfer (3)
- # protorepl (4)
- # re-frame (33)
- # reagent (6)
- # reitit (13)
- # ring-swagger (5)
- # shadow-cljs (26)
- # spacemacs (4)
- # sql (8)
- # testing (27)
- # tools-deps (21)
- # yada (1)
got it. A few weeks ago React announced a lot of new features and it would be great to use them in cljs world. For example, useContext
, useEffect
, useImperativeMethods
would be very useful. I think Reagent should do a lot of work to adapt to these React changes, but I’m not sure if it’s possible 😞
I actually have an experimental library https://github.com/Lokeh/hx that I’m working on as a way to essentially replace reagent with raw React + Hooks
I have an open PR for additional syntax and convenience functions for using Hooks with it, but here’s a demo using the new Hooks API without all of that: https://github.com/Lokeh/hooks-demo
Thank you @U4YGF4NGM! I will investigate it. I think that using new approaches for building react components it’s a correct way. The last react features designed to improve app performance (time slicing, etc)