This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-11-22
Channels
- # announcements (1)
- # babashka (94)
- # beginners (11)
- # biff (9)
- # calva (21)
- # clj-kondo (14)
- # clojure (12)
- # clojure-europe (56)
- # clojure-nl (1)
- # clojure-norway (41)
- # clojure-uk (4)
- # clojurescript (4)
- # core-logic (2)
- # gratitude (12)
- # honeysql (1)
- # hoplon (3)
- # hugsql (7)
- # introduce-yourself (2)
- # jobs-discuss (23)
- # leiningen (3)
- # malli (11)
- # off-topic (1)
- # pedestal (11)
- # reagent (3)
- # squint (8)
- # vim (9)
- # xtdb (3)
Apologies if this is common knowledge, but I wanted to try out squint and since I had deno installed I tried this and it worked perfectly. It's a neat one-liner to try it out.
deno run --allow-read npm:squint-cljs@latest repl
🎉 5
There is one problem with generated markup for React Native (
#jsx [:View
[:Text “Hello”]
[:Text “World!“]]
translates to
return <View><Text>Hello</Text> <Text>World!</Text></Vew>;
Here we have space between <Text> tags
And RN compiler thorws error for this space:
“Unexpected text node: . A text node cannot be a child of a <View>.”
For the web its works with warning, but for app on device - crash.
@borkdudeđź‘Ť 2
âś… 2