This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-03-06
Channels
- # announcements (4)
- # asami (11)
- # babashka (1)
- # beginners (70)
- # bitcoin (2)
- # calva (68)
- # cider (311)
- # clara (1)
- # clj-kondo (58)
- # cljsrn (18)
- # clojure (37)
- # clojure-australia (1)
- # clojure-europe (22)
- # clojure-poland (6)
- # clojure-serbia (2)
- # clojure-spec (9)
- # clojurescript (11)
- # conjure (4)
- # cursive (16)
- # data-oriented-programming (21)
- # datahike (1)
- # emacs (10)
- # events (1)
- # fulcro (9)
- # girouette (2)
- # graalvm (52)
- # graphql (2)
- # jobs-discuss (5)
- # lsp (8)
- # malli (8)
- # off-topic (17)
- # other-languages (46)
- # pathom (17)
- # portal (2)
- # shadow-cljs (11)
- # slack-help (2)
- # sql (47)
- # tools-deps (14)
- # tree-sitter (1)
- # xtdb (6)
We're doing some consulting work at the moment. Advising a large client on a digital transformation project. It's made me look more closely at non-RN mobile app development options more closely. This NuBank article makes a good pitch for the strengths of Flutter. https://building.nubank.com.br/scaling-with-flutter/
Wondering if anyone has switched from Flutter to RN and has viceral reactions to the claims.... "After gathering evidence, the team decided to adopt Flutter, thanks to its excellent testing capabilities, such as built-in testing infrastructure for Unit, Integration, and End-to-End tests without the need for rendering to the screen. Overall, — compared to other options — they also found the Flutter development experience to be superior, with better hot reload capabilities, robust official documentation, and a more stable API."
sorry i can't provide more pros and cons it was 2 years ago and maybe situation improved but when i tried it i really really didn't like it. I was playing with it for a month and when i switched to RN i was much much happier. Never looked back since
Christophe Grand is working on a port of Flutter to Clojure. Not publicly available yet... best to speak to him about the details
Here the tweet from @U3E46Q1DG about this https://twitter.com/cgrand/status/1350063059864346624?s=20
And he tweeted recently that he’s been busy with work recently to get this out of the door/open sourced
I'm interested to see what he produces. Also curious what dev experience is like.
Very surprised, @U055DUUFS, to see testing wagging the UI framework selection dog. Are they otherwise that interchangeable?
I’m trying to use the options prop to have a right header button and a custom title, something like the following https://reactnavigation.org/docs/header-buttons/:
function StackScreen() {
return (
<Stack.Navigator>
<Stack.Screen
name="Home"
component={HomeScreen}
options={({ navigation, route }) => ({
headerTitle: props => <LogoTitle {...props} />,
})}
/>
</Stack.Navigator>
);
}
And this is what I have:
[:> (.-Screen Stack) {:name "Event Title"
:options (fn [navigation]
{:headerTitle (fn [props] "Some Title")
:headerRight
(r/as-element
[button {:title "Next"
;;:onPress #(dispatch [:add-thumbnail navigation])
}])})
:component (r/reactify-component event-title)}]
However, neither am I seeing the custom headerTitle nor am I seeing the headerRight which should be the button component. What am I doing wrong?@pez now I have the following:
[:> (.-Screen Stack) {:name "Event Title"
:options (fn [navigation]
(clj->js
{:headerTitle (fn [props] "Some Title")
:headerRight
(r/as-element
[button {:title "Next"
;;:onPress #(dispatch [:add-thumbnail])
}])}))
:component (r/reactify-component event-title)}]
But I get the following error:@pez where should I put as-component?
@pez That gives the following