You are viewing a single comment's thread from:

RE: Building a Simple Todo App with Client Side Development in Dart - Dart Tutorial Part 5

in #utopian-io7 years ago (edited)

Curious if Dart has some JSX like syntax workaround right now? I heard that they prefer Elm-ish syntax but I think it will slowdown the development process since there is many design tool with the ability to export as SVG and/or HTML. For example, animating vector design using React that is from Adobe Ilustration.

Sort:  

Dart is not like Elm, its more like Angular JS or Vue Js then JSX. You just put your "JSX" into an HTML document and it works that way.

Obviously, this makes more sense in the context of Dart since it is a language by google after all.

Thank you for clarify it. So it use templating (at least for webdev), feel strange that never see the templating syntax in Flutter.

That is because flutter doesn't use any web technologies. Many people make this same mistake in believing that somehow flutter is a hybrid technology because it uses Dart which can compile to JavaScript. Since flutter doesn't compile to JavaScript, there is no point in using HTML as a templating engine.

Last thing, out of curiosity since I do a lot of webpack configuration before create-react & vue cli 3 exists 😂, is it possible to use webpack within Dart project base? (cause I read that it can be interop with javascript libraries). If yes that's mean there is a possibility that I can interop Rust within Dart project base .

Coin Marketplace

STEEM 0.13
TRX 0.35
JST 0.034
BTC 115494.13
ETH 4597.67
SBD 0.85