Skip to content

[Cookbook] Use of slot-scope #1513

Closed
Closed
@voluntadpear

Description

@voluntadpear

It would be nice to have some examples of how powerful slot-scopes can be. There are many use cases for this, like having a component that gives you the current cursor position and let you render whatever you want.

Given how popular the render props pattern is in the React world and how many of those things can be achieved with slot-scopes, having a recipe with some examples would be nice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions