This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-20
Channels
- # announcements (16)
- # aws (1)
- # babashka (24)
- # beginners (54)
- # calva (25)
- # cider (4)
- # cljs-dev (2)
- # clojure (16)
- # clojure-dev (39)
- # clojure-europe (18)
- # clojure-nl (1)
- # clojure-uk (4)
- # clojurescript (66)
- # core-async (16)
- # cursive (13)
- # datomic (15)
- # deps-new (1)
- # duct (22)
- # fulcro (20)
- # jobs-discuss (1)
- # kaocha (3)
- # lsp (11)
- # malli (8)
- # off-topic (38)
- # other-languages (18)
- # polylith (18)
- # portal (15)
- # react (2)
- # reagent (9)
- # reitit (7)
- # releases (10)
- # reveal (1)
- # sci (13)
- # shadow-cljs (3)
- # specter (4)
- # sql (4)
- # xtdb (16)
Hi all i am using material-ui with reagent (shadow-cljs) for some components i am getting undefined error for example ListItemText is working correctly but when using MenuItem or ListItemButton (i think both have a ButtonBase as parent component) console throws "Uncaught TypeError: _MenuItem is undefined" is this has anything to do with shadow or reagent?
for some components it is throwing "_ButtonBase undefined" error It seems like a build processing error happened in shadow or reagent
(ns components.generic (:require ["@mui/material/Drawer" :default drawer] ["@mui/material/List" :default sidebar-menu] ["@mui/material/ListItemButton" :default sidebar-menu-item] ["@mui/material/AppBar" :default app-bar] ))
No clue - that looks alright. Huh, didn't know they renamed their packages in 5.0.0.
Is there any specific shadow-cljs compile options needed for external react components ?