- Notifications
You must be signed in to change notification settings - Fork4
Use React components inside Svelte apps.
License
NotificationsYou must be signed in to change notification settings
jesseskinner/svelte-react
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Use React components inside Svelte apps.
<script>importReactComponentfrom'svelte-react';importWidgetfrom'./Widget.jsx';</script><p>this is a React component inside a Svelte app:</p><ReactComponentthis={Widget}children="child text"{...props}/>
ReactComponent does not accept any children or slots. If you want to specify children to the React component, you have to pass them in through thechildren prop.
This project was heavily inspired byreact-svelte. If you want to use Svelte components inside React apps, have a look atreact-svelte.
About
Use React components inside Svelte apps.
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.