Add note about options func to migration guide
This commit is contained in:
parent
99a9837cf9
commit
c1dcd9f511
1 changed files with 4 additions and 0 deletions
|
@ -126,6 +126,10 @@ Modifiers now display negative effects in red. The current implementation assume
|
||||||
|
|
||||||
Modifiers have renamed their `revert` property to `invert` to match the terms used by formulas. Update any custom modifiers you've created accordingly.
|
Modifiers have renamed their `revert` property to `invert` to match the terms used by formulas. Update any custom modifiers you've created accordingly.
|
||||||
|
|
||||||
|
### Custom Features
|
||||||
|
|
||||||
|
Lazy proxies now call the options function with the base object as the `this` argument and the first parameter. Features with `options` functions are expected to pass the base object as the `this` argument and first parameter as well. The `OptionsFunc` type has already been updated for this, so TS will complain if you skip this migration step.
|
||||||
|
|
||||||
## Fixing visibility changes
|
## Fixing visibility changes
|
||||||
|
|
||||||
Visibility properties now work with booleans, which has several implications.
|
Visibility properties now work with booleans, which has several implications.
|
||||||
|
|
Loading…
Reference in a new issue