As noted in reduct/nitpick#1 and discussed on monday, we should add the Prop decorator in this repository. This should as well be part of the 2.0.0 release, since it is a breaking change and I don't want major releases every 2 weeks . 👺
The Prop-Decorator should have the following functionality.
- Get the propValue out of the passedProps/Elements Dataset/DefaultProps.
- Expose an evaluation API
- Set the result if the evaluation result is truthy.
As noted in reduct/nitpick#1 and discussed on monday, we should add the Prop decorator in this repository. This should as well be part of the 2.0.0 release, since it is a breaking change and I don't want major releases every 2 weeks . 👺
The Prop-Decorator should have the following functionality.