DEV Community

Discussion on: Why LitElement isn't as good as React

Collapse
 
gormonn profile image
Dmitriy Aleksandrovich

The problem is that you are comparing a class component with a functional one (with hooks). This is pretty weird. You might as well have compared React Class Components to Functional React Components with Hooks.

Just try LitElement with haunted (hooks implementation) and compare it to Functional React Components with Hooks.