Hacker News new | ask | show | jobs
by sombremesa 3766 days ago
I just want to point out that there is no mandate to use a framework in JavaScript. While I'm not familiar with React and I agree that it probably helps developers structure their apps, there is no need to use a framework just to have a component/modular architecture.

One of my favorite examples of clean modular JS that does not depend on a framework is Mozilla's browserquest: https://github.com/mozilla/BrowserQuest/tree/master/client/j...

Many things that make life easier when making relatively small web apps also make debugging more complicated, compared to programming from scratch with minimal reliance on third parties. Choose wisely.

1 comments

That doesn't work if you're trying to build native mobile apps.
Which is a pity. I would love to see something like Electron for mobile.
I'm pretty sure that's exactly what the Cordova project is: https://cordova.apache.org
Cordova isn't purely native.
Either is Electron.