The reason I investigated these two in particular was because of my job requesting me to evaluate LitElement. And I hope to help others making the same evaluation.
Agreed, react has had more attention to tooling and DX, so it is richer. It has the benefit of more time and attention, many years more.
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.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I wonder why you are comparing poor LitElement to rich React Hooks?
To be fair, you should have compared LitElement + Haunted hooks
The reason I investigated these two in particular was because of my job requesting me to evaluate LitElement. And I hope to help others making the same evaluation.
Agreed, react has had more attention to tooling and DX, so it is richer. It has the benefit of more time and attention, many years more.
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.