Skip to content

Add $derive:property directive #1

Description

@hawkticehurst

Feature description

Potentially add a $derive:property directive that will derive new state based on existing state(s), tied to an element property.

Syntax

$derive:property="callback(...statenames)"

Usage

Like the $derive directive, $derive:property will be a way of creating new state based on other state in a Stellar component, but the new state will be tied to an element property instead of element text content.

Notes

I'm still not sure if this is needed or not.

Goal: Can I find use cases/scenarios where we need a reactive property that is dependent on other states?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestunder considerationA feature request is is being considered, but is not committed.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions