News for hackers. Stuff that matters.
Re:Guide to JavaScript Frameworks by scarecrowbob on Sunday January 21, 2018 @07:15PM (#16200909)
Yeah, In my day to day work I do a little bit more than the OP and know some react/webpack and such.

But the last time I needed something a little complicated I ended up using VueJS. If you don't want to do it the "right" way (ie, a whole build system and such) you can just toss the file onto the page with a script tag and get to work with your scripting wherever you feel good about doing that.

Re:Guide to JavaScript Frameworks by krapp on Monday January 22, 2018 @06:30AM (#16203566)
> If you don't want to do it the "right" way (ie, a whole build system and such) you can just toss the file onto the page with a script tag and get to work with your scripting wherever you feel good about doing that.

The "wrong" way, in this case, is not only the "right" way, but the only way. Any javascript framework, no matter how esoteric or abstract, has to wind up generating one or more javascript files to be called by script tags in an HTML document.

And any framework that recognizes this and just tells me up front where a prebuilt script is that I can just include and use is a plus in my book.

Re:Guide to JavaScript Frameworks by scarecrowbob on Monday January 22, 2018 @02:53PM (#16207324)
While it seems kind of pedantic, I take your point.

And I agree with your assertion that it's nice to be able to shove a pre-built script somewhere... but I've been working on toy react/redux apps and I feel like no, that would miss the point of the tooling and workflow that I want to learn.