Eric Elliott
Jul 26, 2017 · 1 min read

It also requires more code and makes it harder to set static props (unless you use the static props stage 2 feature with babel or TypeScript).

What benefit do you think it provides?

If you meant `instanceof`, beware: it lies if the class prototype gets swapped out, or across execution contexts (e.g., iframes). `instanceof` should be avoided in JS.

    Eric Elliott

    Written by

    Make some magic. #JavaScript