4 ms·
So I took a good look at the docs and as a React Native developer, I do have some questions: - Is there code linting support in Visual Studio Code? I find that
by hysan 9y ago
So I took a good look at the docs and as a React Native developer, I do have some questions:
- Is there code linting support in Visual Studio Code? I find that having a style guide, even if loosely enforced, helps a lot in learning how to structure code for long term maintainability.
- The state of packages, in particular those that expose native SDKs, looks just like the early stages of native modules on RN. I know this is a beta, but what is the time frame for when all of these SDKs to mature? Or is this all on the community, in which case, I wouldn't be very convinced to use Flutter considering how long it took for good native modules to stabilize on React Native.
- Why aren't the licensing requirement bits mentioned on the actual doc pages for Drawer and Material Components in Flutter? It's in the FAQ, but if they are required, putting them in the docs would be better: https://flutter.io/faq/#how-can-i-determine-the-licenses-my-flutter-application-needs-to-show https://flutter.io/faq/#how-can-i-determine-the-licenses-my-...
- Is there a roadmap that is more detailed than the milestones (https://github.com/flutter/flutter/milestones https://github.com/flutter/flutter/milestones)? With React Native, I know that support isn't going to suddenly dry up because it's an integral part of Facebook's current tech stack. So even if they don't focus on what I prioritize, at least I know it's being improved. With Google and their support reputation, I'm much more concerned about spending time to pick up Flutter & Dart only to have support taper off.
- Harimwakairi 9y agoI can answer a few of these. For Visual Studio Code support, the community has produced an extension: https://marketplace.visualstudio.com/items?itemName=Dart-Code.dart-code https://marketplace.visualstudio.com/items?itemName=Dart-Cod... Regarding packages, they're a combined effort between the Flutter team and external contributors. There are a bunch in https://github.com/flutter/plugins https://github.com/flutter/plugins, for example, with commits from both inside and outside Google.
- hysan 9y agoThe extension I saw in the docs, but I didn't see code linting as one of the features. Is there code linting included? Thanks for the plugins link. Any idea what Google's stance is on supporting or expanding support of platform plugins? There's no issues for plugins so I can't tell how stable those packages are. So even if it's a combined effort, I feel weary repeating what the early stages of React Native felt like.
- Harimwakairi 9y agoLinting is included with the extension (I think it's way down in the list of features on its page, but it're there). The flutter command line tool (included with the SDK) comes with a formatter, so it'd be insane not to hook into it. Re: plugins, I hadn't noticed until just now that the instructions for the plugins repo say to file issues under the main one. There are plenty there, though. A search for "Firebase," though: https://github.com/flutter/flutter/issues?utf8=%E2%9C%93&q=firebase https://github.com/flutter/flutter/issues?utf8=%E2%9C%93&q=f... turns up ~350 issues. I can't speak for the team, but solid support for platform APIs is going to go a long way toward adoption, so I can't imagine it's being overlooked.