There actually are frameworks, like Preact, that actually don't have the issues that React has. So no, you can't "literally pick any tool, framework, corporation and replace React in this article". I understand you like React, but you can accept that it is flawed and still like it :-)
@ender minyard - the HTML imports link you shared has this line at the top, in red - "HTML Imports are deprecated and was removed from Chrome in February 2020."
I think most browsers didn't even support that. Even if it worked I didn't like it too much. First you had to import html, then you had this ugly code to actually use it. What I was referring is something like in php. Where you create an html section for the header in one php file. And call it from index.php. This is where plain html comes short and frameworks pick up the slack.
Some comments have been hidden by the post's author - find out more
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.
HTML modularity: webcomponents.dev/
There actually are frameworks, like Preact, that actually don't have the issues that React has. So no, you can't "literally pick any tool, framework, corporation and replace React in this article". I understand you like React, but you can accept that it is flawed and still like it :-)
If gaining 40Kb makes you happy, then so be it. They're only flaws to you, not me. Different perspectives. 😁
I'll definitely check out preact though.
@ender minyard - the HTML imports link you shared has this line at the top, in red - "HTML Imports are deprecated and was removed from Chrome in February 2020."
I think most browsers didn't even support that. Even if it worked I didn't like it too much. First you had to import html, then you had this ugly code to actually use it. What I was referring is something like in php. Where you create an html section for the header in one php file. And call it from index.php. This is where plain html comes short and frameworks pick up the slack.