Support to Preact X
See original GitHub issueHey.
I observed that there’s no support to Preact X yet.
Specifically, the typescript compiler emits an error about code using the attributes
attribute in the VNode structure, like this example.
I imagine this is related to the fact that in Preact X the VNode shape has changed, and now attributes
is just props
in the VNode structure. According to Typescript compiler, there’s a few other cases where the same error occurs.
So here’s the question: What’s the plan to support Preact X? Would this package have a version compatible with both versions (assuming this is the unique problem, of course), or we would release a new version supporting only Preact X?
PS: I know that Preact X is still in alpha but I think it’s better to prepare for it than await to a stable release…What you think?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:21 (5 by maintainers)
Top GitHub Comments
I confirm that works with:
preact-material-components@1.6.0
preact@10.0.0-rc.2
released 1.6.0