Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "vanillajs"
-
I started a new project and only use PHP, HTML, CSS and vanilla JS. No Frameworks. No React. No Vue.
The browser loads the page instantly, there is virtually no loading time and it just works.12 -
Everyone in this team calls everything a team effort, but once I start offering my help, they be like "no, I can do it. I know more than you".
Hmm. yeah, but you (sysadmin) use jQuery and vanillajs mixed. For example: $('#hello') and document.getElementById('hello').
Also you put console.logs everywhere, I don't mind putting console.logs in development, but not in production.
Oh and he copies the libraries to every folder that needs it, so there are at least 12 jquery libs in this project and the version is not even the same. Lol.... Please slap me to death.
There is another networkadmin that calls himself a (python) developer. He doesn't agree with my simplicity.
His work (just an example, changed names but you get the idea)
"A notebook that is used by x-department"
Model: Notebook
endpoint: department-notebooks
Model: DepartmentConfigs
Endpoint: notebook-department-configs
You won't believe what he put in 'department'configs, it's literally hardware vendor, model, versions.
Like... really? What the hell you doing man?!
Just have these models for example: device, department, vendor, product, category
We do not only have notebooks, but also servers, routers, switches and more.
His argument of having configs in the name is that they do more complex things. Hmm, I don't see it in the code and the data is messed up:
Microsoft, microsoft, micro soft.
He fixed it by hardcoding it in a select box. Mickysoft isn't the only vendor, fuck you!
fuck this team, fuck these people
Another fucking rant, a story was assigned to me. But that stupid fake developer worked on it immediately and message me he fixed it already. I guess he won't let me touch his baby.
Everything is just piling up. This team and people aren't fun at all.3 -
Honestly, people who think “vanillaJS da way” and heavily work with HTML strings are a danger to human kind.
You’re basically running around with a shirt saying “I love using eval wherever possible”2 -
I cant really understand all the hate about JavaScript. I learned C as my first language and I have to admit that once you think of js as a kind of C scripting language it all make so much more sense especially when it comes to optimizations which come with syntactic sugar like coffeejs and so on.4
-
I understand that front end frameworks are important when scaling an app/project but it’s not a necessity for small student projects.
Can someone make me understand how a student can make use of the frontend frameworks not just for the sake of learning it but the framework actually being a necessity4 -
TL;DR, which is the best JS templating library?
I've been using React for a while since I like the library's ideology and how simple designing templates is. But for the sake of future technologies, I've been wondering if I could get out of React and start coding with native JS.
The only problem is constructing the DOM, which gets super ugly with vanillaJS. So, I want to ask the experienced members of devRant which library would best suit my use case.6 -
New employee joining the company next week. Where should she start on JS?
New employee is joining the company I work for next week, and I have the responsibility to teach, train and give her tasks. It is my first time training someone so I really have no idea how to do this. :P
She knows a little bit of Vanilla JS. Our projects are built with AngularJS (v1) with ES6, Webpack & Babel, ReactJS & jQuery. I want to put her on the project using AngularJS.
What order of learning do you recommend? VanillaJS, AngularJS & ES6? AngularJS & ES6? Or if you have any other suggestion, feel free to let me know.
Thank You.6 -
In the beginning there was Vanilla that generate HTML which felt in love with CSS .....it passes a long time thus this pure essences creates a lot of frameworks and libraries thus the time has passed and Angular make love with React saying each other "I LoVue" and thus generate Vue.... a Vue-tiful creature 😄1
-
Why TF is it easier to make a modal component with vanilla js compared to react? Like is ReactDOM the only way to add shit dynamically?7
-
Anybody here know the "Nyet! Rifle is fine!" meme?
Yeah that's how I feel about all the JS framerks and bloat and all that instead of Vanilla JS.3