Migrating UI-Sortable to Angular 2

Embed Size (px)

Citation preview

Migrating UI-Sortable to Angular 2

Who am I?

How I got in!?

What is UI-Sortable?

Bringing the jQuery UI Sortable interaction to Angular

Yes we depend on jQuery

Single minified cdn link ~245kB

The DOM tree ideal

Angular 1 Hierarchy

Prototypical
$scope Inheritance

How it felt sometimes

$scope flooding

Big Announcements...

It's a
Genocide

New fancy naming concepts

The @Component tree ideal

Pass only properties

The @Component tree ideal

Same rules for everything

Layers of @components

Strictly defined shared objects

Strictly defined sub-@components

Mix and match v1 & v2

How should we name our libraries?