9/26/2023 0 Comments React native or flutterIt is trivial to build to the web, and in fact, I really liked being able to develop my app using Chrome instead of a phone emulator.Building to web with Flutter is never going to be viable for most use cases.With React, you have a small number of base components and you sort of 'hack' them to make them look and behave how you want, while in Flutter, it seems like you need to be familiar with tons of specialty-use widgets to compose your layouts. The downside is that there are hundreds of highly specialized widgets, so the learning curve seems quite high. In some ways, it gives you a lot of confidence that what you're building is going to work as expected because each Widget accepts really specifically typed widgets so you sort of know you're doing things "correctly". The Widget-based architecture is.weird.I would prefer using Dart to Typescript because its type system is built into the language and you don't have to worry if any 3rd party libs you use come with typedefs. Dart is a nice language and is not hard to pick up.Some of these things can be done with Flipper, but the visual inspection tools pale in comparison and Flipper is a 3rd party tool with bugs and quirks. The built in dev tools are great for inspecting layouts, network requests, performance profiling, etc. Flutter's tooling and overall developer experience is much nicer than RN I think.Here are my thoughts in no particular order. My company just hired a new CTO, and one of the first things he did was ask me to think about rewriting our React Native app into Flutter, so I spent about a week researching and building sample projects with Flutter.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |