-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add disableLifecycleMethods to documentation
- Loading branch information
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8eeb0b7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bit confusing since the lifecycle methods don't actually get called unless the
lifecycleExperimental
option istrue
. In fact, theShallowWrapper
implementation doesn't appear to do anything withdisableLifecycleMethods
except validate that it istrue
orfalse
if given.8eeb0b7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct. If you don't want them disabled, that doesn't imply they'll be enabled, it only implies the default behavior.
In a future major version, they will be enabled by default.