Sorry for stupid question, guys. Looks like Preact is really awesome, and I'm just starting to dig it.
Please tell me, wether it's possible to use all other react-components in npm within preact?
What are the possible caveats?
Thanks!
it's not stupid question. have you looked preact-compat? https://github.com/developit/preact-compat
What are the possible caveats?
Good question, many people have asked:
onClick) is the "raw" DOM event from the browser. This is less of an issue than it was in the past due to improved browser compatibility in this area, but something to be aware of.Another way of looking at (1) and (4) is that Preact is "closer to the metal" of the web platform and the browser that you happen to be running on.
That is a better list than I could have ever put together @robertknight 馃檱
Thank you for the robust explanation, guys! Will take a closer look on preact 馃憤
@developit @robertknight @mehmetkose
I'm going to close this out since the information here is about to get included on a new homepage for preactjs.com 馃拑
Most helpful comment
Good question, many people have asked:
onClick) is the "raw" DOM event from the browser. This is less of an issue than it was in the past due to improved browser compatibility in this area, but something to be aware of.Another way of looking at (1) and (4) is that Preact is "closer to the metal" of the web platform and the browser that you happen to be running on.