Re:How I converted my React app to VanillaJS
by pitaj on Monday January 02, 2017 @03:12AM
(#13299764)
More like, "How I wrote my own framework in VanillaJS"
[ Parent
| on HN ]
Doesn't code automatically look like a framework when you structure it?
You can e.g. hide that fact within a DSL!
Re:How I converted my React app to VanillaJS
by ralfn on Monday January 02, 2017 @02:51PM
(#13303849)
Thats just called software engineering.
Its not a bad thing when 95% of the code in your project is borrowed (i.e. when you use a framework), but ducktaping stuff together will only get you so far.
For the size of the example project (single dev, one day, single page) and the requirements (load as fast as possible) this would be the superior approach. React would indeed be overkill. And below 200ms load times has proven impact on conversions. That is: the requirement is realistic and commercially, if at all possible, not at all negotiable.