Migrate to 2.x
Version 2.x replaces the old component/ref model with a hook-and-view model.
TIP
This page is a short migration note for readers inside the 1.x docs. For the full and latest migration guide, see the 2.x migration from 1.x guide.
Component replacement
Before:
After:
Event migration
Before:
After:
Control migration
Before:
After:
