Skip to content

Make a plugin that extends the output classes and the inner options #13

Description

@Pckool

An example of this would be an extension plugin for state that allows you to have new options under state when you bass it a boolean (ex. toggle)

// ...
const value = state(false)

// we should make a plugin that can extend state when it detects a boolean type

value.toggle() // this is not a method on StateInstance, but we could extend it so it could be when we recognze a boolean

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions