Interoperating with large JS libraries is challenging #20189
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
area-web
Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.
library-js
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
web-js-interop
Issues that impact all js interop
It's "very painful" to work with large object-oriented JavaScript libraries with Dart. The dart:js library requires API access with a lot of quotes, strings, and brackets. Tooling becomes very difficult (did I misspell a word?), APIs become hard to read (new JsObject(context['google']['maps']['Map'], [...]);).
Would love a more toolable, scalable, developer-friendly JS interop mechanism that produces small and fast code.
The text was updated successfully, but these errors were encountered: