2 ms·
>don't know a single gotcha except for the renamed attributes/props that are otherwise reserved keywords (htmlFor, className). This is related to `React.create
by tauchunfall 3y ago
>don't know a single gotcha except for the renamed attributes/props that are otherwise reserved keywords (htmlFor, className).
This is related to `React.createElement`, I think. Preact does not have this problem. For client-heavy web applications I prefer React over Preact (not all libraries work well with Preact), but server-heavy web applications are fine with Preact.