Skip to content
This repository was archived by the owner on Oct 29, 2019. It is now read-only.
This repository was archived by the owner on Oct 29, 2019. It is now read-only.

Create the Prop Decorator #52

@Inkdpixels

Description

@Inkdpixels

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.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions