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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions