Skip to content

Conversation

@agubler
Copy link
Member

@agubler agubler commented May 30, 2019

Type: feature

The following has been addressed in the PR:

Description:

After merging widget-core with core, this change colocates all the functionality required to build and use Dojo widgets into a single module, vdom.ts. The driver for this is not having a sane place to put the new create factory for functional widgets and middleware. Also to reduce the minumum number of modules a user needs to import for Dojo.

Before

import { renderer, create } from '@dojo/framework/core/vdom';
import { v, w } from '@dojo/framework/core/d';
import { tsx } from '@dojo/framework/core/tsx';

After

import { renderer, create, v, w, tsx } from '@dojo/framework/core/vdom';

Note: This will require some additional work for the @dojo/cli-upgrade-app to seamlessly migrate user codebases to the new imports.

@agubler agubler closed this May 30, 2019
@agubler agubler reopened this May 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants