Hello HN:
I have been developing apps for iOS and Android for about 10 years. Started with Objective C and Java and then moved to Swift and Kotlin. I don't have much web dev experience though (mostly vanilla JS) but do have lots of mobile dev and backend dev experience in node js and bit of Rust.
Have you switched from native to cross platform dev?
Have you tried both flutter and react native?
Which one did you prefer and why?
Thanks!
Edit: I did start learning flutter yesterday and it seems pretty decent so far. 2 problems I do have are:
1. Too must nesting (which some say can be solved by breaking down everything into smaller widgets but seems like a lot of extra code work).
2. Flutter for web dev is absolute trash and useless as it seems to just draw the content using canvas instead of actually creating the html tree.
Re your problems:
1. Yeah, break widgets down. Yes, it's more work, but it's necessary in the same way that breaking code down into smaller functions is necessary. You don't just cram everything into one file and you shouldn't expect that a mega-widget will be the right way either.
2. Flutter for web is still very early on. You should know that there are two renderers (one that uses canvas and one that uses real dom elements), but they're both just "okay" at this point. They have been rapidly improving however -- the difference between now and this time last year is significant. It'll keep getting better and in the mean time, it's usable enough. The download sizes are huge and sometimes rendering can be a little janky, but again: it'll get better. For me, the promise of a unified system for desktop, web, mobile, and even some limited 3rd party embedded Linux support (https://github.com/sony/flutter-elinux) is really appealing.