very good talk, Thank You Peter!
A question doesnβt relate to the topic, but I saw you inject service instance in Login View, so what is responsibility of LoginViewModel? It just keep state of Login View, right? 33:08
Would love to see how to unit test this environment logic
Great video! I'm curious, is there a particular reason for not using a viewModel? Wouldn't this result in tighter coupling of Views, potentially reducing their reusability?
19:32 I am still not getting it. What is the benefit of the entire environment stuff over using "var clearButtonHidden = true" inside the TextInputField and passing "false" two times in the init ?
If you put reusable components everywhere you will be confused very soon, it is better to keep simplicity and don't overcome with a lot of functionalities
I so much love β€οΈ this. Is the code π¨βπ» available?
What is the reason to use environments, but not init with default values for a custom TextField? Just to have the same init as an original TextField? I mean anyway you have to not just substitute one line TextField on TextInputField in this case.
i dont see any benefits of extract to functions, except when where is a switch. Extracted Text with modifiers doesnt make sense because its the same view with the same specs but with more lines of code.
Nice "input" π
π€¦ββοΈπ€¦ββοΈπ€¦ββοΈπ€¦ββοΈ
code?
π₯±
@olegmyatlikov