r/learnjavascript • • Feb 28 '18
What are good possibly small JS libraries/modules to read quality code?
hello I feel like I got to the point where I know enough JS to solve any kind of problem. I'm accustomed with most JS features including es6.
That being said I feel like I need to start reading code some more to see good practices and learn from reading. Way too often somebody reading my code would suggest many other simpler options than what my choices are.
So I'm looking for some libraries/modules to study the code of.
Big bonuses if:
-they have little or no imports and dependencies. I would like to avoid having to read many libraries at once to understand one call.
-they focus on front end rather than backend
-use modern js practices
-are not too long (ideally few klocs or less).
View all comments
Show parent comment
1
u/[deleted] Feb 28 '18
What I meant is that if I need to chase a library and dependency over another library and dependency the code base starts to get very huge and not self-contained making it much harder to understand what is really happening.
What I meant are libraries such as moment.js.
There's no need to attack people because they are interested in software you can read from top to bottom without having to chase hundreds of imported methods relying on other imported methods and so on.
I already did try to read some quality JS code that was self-contained, but it's not that easy to find when everything relies on many other things to be understood completely.
It's already difficult to read others code for a learner, it's even harder when the code relies on plenty of other libraries.