membrane

zimablue 2023-01-04T16:45:13.667769Z

in a vanilla (clj-compiler) cljs environment, there's no way to resolve vars right, so that part is expected to fail through to nil?

phronmophobic 2023-01-04T16:51:09.127329Z

I haven’t tried the vanilla cljs compiler, but the defui macro also sticks the relevant info in an atom in case resolve isn’t available.

zimablue 2023-01-04T16:54:28.303049Z

you use self-hosted?

phronmophobic 2023-01-04T16:57:18.017879Z

I use shadow-cljs

zimablue 2023-01-04T17:00:20.460769Z

Sorry that's what I mean, I misspoke. I meant "normal" Vs "self-hosted", fwiw I believe shadow-cljs uses the "vanilla compiler" under the hood it just deals with peripheral elements of that process. Using shadow-cljs one can have resolve in the Java environment, to have objects, which is ok because the end goal is just to retrieve the ns right?

zimablue 2023-01-04T17:00:40.248869Z

Vars and introspection in cljs Vs clj make my brain bleed

zimablue 2023-01-04T17:00:56.128449Z

*to Java objects

phronmophobic 2023-01-04T17:01:40.977249Z

currently, the list of properties a component expects is also required

zimablue 2023-01-04T17:03:35.484769Z

Which is what you helped me patch earlier in another thread with metadata, which is cool but read-time and a bit manual, got you

👍 1
phronmophobic 2023-01-04T17:04:24.759559Z

right

zimablue 2023-01-04T16:45:25.664489Z

but somehow the overall system still works?