-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Portal 5.0 changes
Adi Dahiya edited this page Dec 2, 2021
·
1 revision
Portals in Blueprint 5.0 are largely the same as v4.x, but they have been tweaked to use the stable React context API instead of the legacy context API.
Instead of the class component getChildContext()
API which was expected to return { blueprintPortalClassName: string }
to customize the class name applied to all Blueprint 3.x/4.x portals in a given React tree, Blueprint 5.0 now provides a PortalProvider
component you may use to define the same custom class. See the v5.0 Portal context options documentation.
- react-day-picker v8 migration
- HotkeysTarget & useHotkeys migration
- PanelStack2 migration
- Table 6.0 changes