While I appreciate that having no library is the ultimate option (and the most fun in the end), it is often not the most time effective or efficient option. It is also does not answer the question that has been asked. OP might have been wanting some better ideas of libraries they want to replace in their next large project.
If it is a React project, then I would have to say Zustand. It makes creating state so much easier, and matches how hooks have become the new standard. I find the Context-Provider pattern in react confusing some times, and this hides it all from me.
I am a frontend developer focused in creating application with React, Vue and Svelte. Currently, I am a software engineering student at Kasetsart University.
I don't have one. The closest thing is probably React. I can make a simple website without using any library but I would not do anything non-trivial without library.
Comment hidden by post author - thread only accessible via permalink
Experienced and results-driven professional with a proven track record as the Graphic Department Head, SEO Department Head, and Web Development Head at Analy Assist. Let's Connect ⭐❤️
Why to use library ?? According to me we should know how to code without any library , coz we can't be dependent on libraries.
I agree libraries are also best option to code but we can't be so dependent
Experienced and results-driven professional with a proven track record as the Graphic Department Head, SEO Department Head, and Web Development Head at Analy Assist. Let's Connect ⭐❤️
Experienced and results-driven professional with a proven track record as the Graphic Department Head, SEO Department Head, and Web Development Head at Analy Assist. Let's Connect ⭐❤️
I know javascript (typescript too) has evolved enough to eliminate use of such library but I'm using it for so long that now its my muscle memory to write _.find, _.filter, _.findIndex etc instead of using default array methods.
Gonna be the odd one out between the more-or-less-obvious "nothing should be crucial!" and the framework answers, and go with... emotion. CSS-in-JS is so goddamn easy with it, I genuinely wouldn't want to miss it, even on non-framework work. The other big one for me is pug/jade because I love the simplicity of abstracting HTML (in a very similar way to how I used to do it myself), but that's more nice-to-have than the universal utility that emotion provides for me.
Edit: To amend my pug answer: Nowadays, pug is awesome for HTML emails, because it just lets you freely generate the HTML regardless of the opinionated nature of other templating engines, and still lets you do the basic things you need. Email templates are awful, but abstracting them into basic inheritance and mixins? Godsend!
Although I've used many libraries and frameworks, the one I have to say Angular because it packs almost everything you'll ever need in a single framework while it can be integrated (ish) with anything written in JavaScript.
Latest comments (36)
Svelte. I love using it. I can code without it, but it is much easier to use it.
Nextjs and TailwindCSS
none
html
React is where the job and money are for me.
While I appreciate that having no library is the ultimate option (and the most fun in the end), it is often not the most time effective or efficient option. It is also does not answer the question that has been asked. OP might have been wanting some better ideas of libraries they want to replace in their next large project.
If it is a React project, then I would have to say Zustand. It makes creating state so much easier, and matches how hooks have become the new standard. I find the Context-Provider pattern in react confusing some times, and this hides it all from me.
I don't have one. The closest thing is probably React. I can make a simple website without using any library but I would not do anything non-trivial without library.
Why to use library ?? According to me we should know how to code without any library , coz we can't be dependent on libraries.
I agree libraries are also best option to code but we can't be so dependent
So you never used react for your front-end project?
Vue and Angular are frameworks, not libraries.
That was my bad, sorry!
i am using react, but i can live without using it
Why do you use react if you don't like depending on libraries??
console.log(using_a_library == depending_on_it); // false
😂💙✨
idk about library but I cannot live without typescript
vanilla-js.com/
The fastest JS library there is.
Definitely Lodash
I know javascript (typescript too) has evolved enough to eliminate use of such library but I'm using it for so long that now its my muscle memory to write
_.find, _.filter, _.findIndex
etc instead of using default array methods.If there is a front-end library you cannot live without, I would suggest your web development and JS skills are sorely in need of work
I'm pretty keen on Vanilla JS. And it works great with TypeScript, which I also like a lot.
Gonna be the odd one out between the more-or-less-obvious "nothing should be crucial!" and the framework answers, and go with... emotion. CSS-in-JS is so goddamn easy with it, I genuinely wouldn't want to miss it, even on non-framework work. The other big one for me is pug/jade because I love the simplicity of abstracting HTML (in a very similar way to how I used to do it myself), but that's more nice-to-have than the universal utility that emotion provides for me.
Edit: To amend my pug answer: Nowadays, pug is awesome for HTML emails, because it just lets you freely generate the HTML regardless of the opinionated nature of other templating engines, and still lets you do the basic things you need. Email templates are awful, but abstracting them into basic inheritance and mixins? Godsend!
Although I've used many libraries and frameworks, the one I have to say Angular because it packs almost everything you'll ever need in a single framework while it can be integrated (ish) with anything written in JavaScript.
Some comments have been hidden by the post's author - find out more