Major Update #152
FrameMuse
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What's new
Features
ModalWindowhas newserializedpropertyModalWindowhas newonmethodModalControllerhas newonmethodModalControllerhas newclosemethodModalControllerhas newshowandhidemethodsBreaking changes
ModalWindownow is aclassinstead ofinterfaceModalis not exporting now, instead you should create your ownModalusingModalControllerModalContainernow has a required propertycontrolleridproperty inModalWindowis now anumberinstead ofstringuseModalContextrenamed touseModalWindowobservemethod inModalControlleris renamed tosubscribeandcallbackdoesn't havestateas an argument anymore - Implement interfaces in favor ofuseSyncExternalStore#142isClosedproperty inModalWindowis renamed toclosedisFocusedproperty inModalWindowis removedisOpentoactiveinModalControllerModalStatetoModalSnapshotuseModalStatetouseModalSnapshotWhat's Changed
README.mdby @FrameMuse in Fixed grammar inREADME.md#133README.mdby @FrameMuse in UpdateREADME.md#145Full Changelog: v1.2.3...v2.0.0
Migration from
v1.x.x#1
Create local instance of
ModalController#2
Pass your local
ModaltoModalContainer#3
Rename properies using your IDE or create a wrapper as dependency injection.
This discussion was created from the release Major Update.
Beta Was this translation helpful? Give feedback.
All reactions