dojo/interop

Create a widget adapter to use in Dojo 1 applications

Closed this issue · 2 comments

Create a new wrapper class that makes a Dojo 2 widget appear to be a Dojo 1 widget for use in a Dojo 1 application.

My work-in-progress is here: https://github.com/edhager/interop/tree/legacy-wrapper-meta-212

I created LegacyWidget () which is a Dojo 1 widget. Basic functionality is works. Things to consider:

  • Do events work in a sensible Dojo 1 way?
  • How hard is it to get values from the widget?
  • Does watch work?
  • How is theming going to work in a way that makes sense to a dev familiar with Dojo 1?

We are no longer going with the approach.