Skip to content

Using both preact and preact/compat #4153

Answered by ritschwumm
dirslashls asked this question in Q&A
Discussion options

You must be logged in to vote

afaik, using preact/compat together with code that only depends on preact can be problematic:
once you touch preact/compat, the behaviour of onInput and onChange undergoes slight changes and the library not using preact/compat may rely on the unchanged behaviour.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@marvinhagemeister
Comment options

@ritschwumm
Comment options

Answer selected by dirslashls
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants