Lex,AngularDart runs on top of dart:html, and is not required to write web-apps in Dart. You can use plain dart:html, with Angular nowhere in sight. That said, for an application, I would recommend using some framework, be it AngularDart, OverReact, or something built in-house. I would not recommend using dart:html directly, just like I would not recommend using plain HTML DOM API in JavaScript directly, for reasons the framework authors will give you.It's a different story if you are building your own framework, in which case dart:html or package:js are good options. They expose the raw Web API without providing an opinion about how to structure your app. It is up to your framework to provide such an opinion.I do not quite follow your arguments around Web Components. The Web API is orders of magnitude bigger than Web Components. Not using Web Components is far from subscribing to Angular CoolAid. A disclaimer though, I'm pretty ignorant about the web components, and I'm not sure what their support in web browsers or in dart:html is like these days. Although, caniuse.com is not very optimistic. When browser support picks up, I'll expect the Dart Web SDK to provide good access to that API.Cheers,Yegor
did you know that between 2013 and 2016, the Dart team developed and maintained polymer-dart? Even had a spotlight at Google I/O... just guessing here, but it seems like it lacked demand and got abandoned.
On a more personal note: While it's great to see you being passionate about web components, please try and respect that people might have other priorities – those of the Dart team have been explained to you in the link where you claimed you were being censored. As such, I do not understand why you felt the need to point out to OP 'obvious conflict of interest' of the Angular Dart team when it comes to web components. Whom, in the context of this post, does this opinion of yours benefit?
On Mon, Jun 18, 2018 at 11:42 AM, nilsdoehring <nilsdo...@gmail.com> wrote:did you know that between 2013 and 2016, the Dart team developed and maintained polymer-dart? Even had a spotlight at Google I/O... just guessing here, but it seems like it lacked demand and got abandoned.Yes, I'm very aware of the polymer effort but around 2016 Chrome added support for Web Components v0 and this was around the same time I started working on a big Dart web project, so it made more sense to go with that instead of polymer. Despite some issues Web Components v0 did the job and we released a product based on this, I'm happy I went with WC v0 and I really enjoyed Dart as a programming language (hands down better than JS).Polymer was a way to do Web Components before it was available in the browser, sooner or later I think the project was guaranteed to be scraped (when Web Components become standard in all browsers).On a more personal note: While it's great to see you being passionate about web components, please try and respect that people might have other priorities – those of the Dart team have been explained to you in the link where you claimed you were being censored. As such, I do not understand why you felt the need to point out to OP 'obvious conflict of interest' of the Angular Dart team when it comes to web components. Whom, in the context of this post, does this opinion of yours benefit?My point was very simple: the OP was having trouble finding info on how to do plain HTML development with Dart and my response was to validate and shed more light on the frustrations they were experiencing. There is in fact a very strong bias against dart:html and for Angular Dart.
That issue that I linked to summarizes in the most succinct way possible the state of HTML in Dart vs Angular Dart and that was what the original poster was lamenting about (why so few HTML docs and so much Angular docs). My "opinion" explained why this was with evidence.
--- lex
You received this message because you are subscribed to the Google Groups "Dart Web Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web+uns...@dartlang.org.
Visit this group at https://groups.google.com/a/dartlang.org/group/web/.
To view this discussion on the web visit https://groups.google.com/a/dartlang.org/d/msgid/web/CAHQ_wW3oWov%3Dsp-pX80Mn-WHisqCxAPhztHDo3ZRLk%2BcafZAow%40mail.gmail.com.