Skip to content

Commit

Permalink
maintain: prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor Pasynok committed Sep 17, 2021
1 parent 889ca3f commit 01351a0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Effector React Slots

☄️ Effector library for slots implementation in React.

## What is a slot

A slot is a place in a component where you can insert any unknown component. It's a well-known abstraction used by frameworks
such as Vue.js and Svelte.
Expand Down Expand Up @@ -157,5 +160,6 @@ const slot = createSlot<{ readonly text: string }>({ id: 'heading' });
```

## Useful links
* [Slots proposal](https://github.com/WICG/webcomponents/blob/gh-pages/proposals/Slots-Proposal.md)
* [Vue.js docs](https://v3.vuejs.org/guide/component-slots.html)
* [Svelte docs](https://svelte.dev/docs#slot)

0 comments on commit 01351a0

Please sign in to comment.