News for hackers. Stuff that matters.
Re:Swift 5.2 by hugozap on Tuesday March 24, 2020 @08:39PM (#22680741)
I'm curious about the major pains with React-native you experienced. Is it because of the toolchain for RN? or some specific scenario?
Re:Swift 5.2 by ericlewis on Tuesday March 24, 2020 @08:48PM (#22680795)
As a contributor to RN and someone who loves SwiftUI just as much: it’s mostly the toolchain. You have an unbelievably vertically integrated framework with SwiftUI.
Re:Swift 5.2 by rauchp on Wednesday March 25, 2020 @01:40AM (#22682241)
Do you think SwiftUI is still too experimental to build out a production-ready app? I'm a RN dev leading the app development at our startup, but every time I check on SwiftUI I LOVE what I see. Sadly it looks like the final results are mostly tech demos rather than fully integrated apps.

Thinking maybe we have to wait for a behemoth's adoption (like AirBnB & React Native) to take the ecosystem to the next level.

Re:Swift 5.2 by jamil7 on Wednesday March 25, 2020 @04:39AM (#22682914)
I've shipped a small app in it and am collaborating on another currently. If you're looking to use it on your team I'd wait for this years online WWDC, see whats announced and evaluate from there.
Re:Swift 5.2 by ericlewis on Wednesday March 25, 2020 @01:47AM (#22682270)
I would say it just depends, which I know isn't satisfying as an answer. I shipped an app named Eggy which is all SwiftUI- but it isn't super complex exactly. There are still plenty of simple problems that are hard to get around. But you can definitely use it to replace pieces of an app.
Re:Swift 5.2 by acarrera94 on Wednesday March 25, 2020 @04:04AM (#22682782)
I also shipped an app for a client called Droplii. I definitely believe you can use it for production level apps. Productivity is through the roof. There are just a few small quirks, but I believe the pros out weigh the cons here.
Re:Swift 5.2 by dpeck on Tuesday March 24, 2020 @08:55PM (#22680846)
Sibling comment here mostly covered it, toolchain is kind of all over the place and build times are way faster with swiftui on my 2015 MacBook.

Also with Combine and associated bits there is a lot less boilerplate around state that doesn’t have to be written.

Also the disk space for the js ecosystem is beyond crazy and really bothers me.

Re:Swift 5.2 by jamil7 on Wednesday March 25, 2020 @04:46AM (#22682947)
Compared to native development the toolchain and dependencies are out of control and I'm unsure how it can really be improved, Expo does a decent job of abstracting some of it but you lose so much from the managed workflow that it makes me question the purpose of building a native app at all. I think the real threat that PWAs bring is to frameworks like React Native and Cordova rather than fully native apps which will likely always have specific use cases.