-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
component constructor props #5
Labels
Comments
Hi @dimooze - yup, Preact was not passing props. I can get a PR in for that change if you'd like, was about to do another one. If you don't mind my asking - what did you need |
Merged
developit
added a commit
that referenced
this issue
Dec 3, 2015
Pass `props` through Component constructors (fixes #5)
@dimooze: Fix released in |
Hey thanks for the merge ! |
Awesome, I was hoping you would say that :P |
marvinhagemeister
pushed a commit
that referenced
this issue
Mar 15, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi !
First of all thanks for this work !
I have a problem when I use props in my constructor from a Component
props are always undefined. So i've found in the source that if i change createComponentFromVNode function like this
and the corresponding create function
It works fine, is that ok ?
Thanks :)
The text was updated successfully, but these errors were encountered: