News for hackers. Stuff that matters.
Re:Guide to JavaScript Frameworks by jasonkostempski on Sunday January 21, 2018 @12:02PM (#16198770)
I'm coming from a similar background and mindset but over the past few months I've been doing a lot of prototyping and some production using Vue without the build tools. I just include vue.js and use x/template scripts for the templates. It's definitley saved me hundreds of hours already.
Re:Guide to JavaScript Frameworks by andrei_says_ on Sunday January 21, 2018 @04:17PM (#16200086)
Does this mean you use regular js and not es6?
Re:Guide to JavaScript Frameworks by scarecrowbob on Sunday January 21, 2018 @07:17PM (#16200918)
I can't comment for the parent, but I've done that, and yeah, I just toss the vueJS file, any additional files for components/polyfills, and my script file into the page via a tag and it works as expected.
Re:Guide to JavaScript Frameworks by jasonkostempski on Monday January 22, 2018 @12:19AM (#16202117)
I've dabbled but I don't use es6 much. I assume you assumed that because how the build tools allow you use es6 and compile to a lesser es. A good chunk of what I write is used by devs so I don't necessarily avoid es6 due to browser compatibility, I just haven't found there to be a ton of useful features in es6. Variable scope has never been an area of concern for me; I've always used snippets, which covers most syntactic sugar; and I definitely don't want to start using OOP in JS.