Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

let's get rid of createHost variable #23

Open
jt3k opened this issue Dec 24, 2024 · 0 comments
Open

let's get rid of createHost variable #23

jt3k opened this issue Dec 24, 2024 · 0 comments

Comments

@jt3k
Copy link

jt3k commented Dec 24, 2024

do we really need this wrapper component that does nothing but pass props with the same names to the neighboring react component

export const createHost = (children: React.ReactNode, callback: Callback) => {
return <HostSlots children={children} callback={callback} />
}

@jt3k jt3k changed the title let's get rid of createHost let's get rid of createHost variable Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant