Awesome
English | 简体中文
<div align="center">You Don't Need
<a href="https://github.com/you-dont-need"> <img src="logo.jpg" width="200" alt="Logo"></img> </a>People choose popular projects, often not because it applies to their problems.
</div>Contents
Packages
JavaScript Packages
- You don't (may not) need Lodash/Underscore - List of JavaScript methods which you can use natively + ESLint Plugin.
- You don't (may not) need Moment.js - List of date-fns or native functions which you can use to replace moment.js.
- You Might Not Need Redux - If you're just learning React, don't make Redux your first choice.
- You Might Not Need React Router - The majority of projects at Facebook don't even use it.
- You Might Not Need jQuery - If you're only targeting more modern browsers, you might not need anything more than what the browser ships with.
- You Might Not Need Axios - The standard
window.fetch
has all the features you need. - You Might Not Need Gatsby - A simpler static React stack
Languages
- You Don't Need JavaScript - CSS is powerful, you can do a lot of things without JS.
- You Might Not Need TypeScript (or Static Types) - There's no question that static types can feel good. Biting into a hot glazed donut feels good. But is it really good for you?
Programming Practices
- You Don't Need Loops ➿ - Loops are bullshit. Let's embrace wholemeal programming!
- You Probably Don't Need Derived State (React) - As a general rule, derived state should be used sparingly. All problems with derived state that we have seen can be ultimately reduced to either unconditionally updating state from props or updating state whenever props and state don't match.
- You Might Not Need to Transpile Your JavaScript - In other words if you're transpiling your JavaScript to ES5, you're making your code unnecessarily big and slow to support a minority of the users who will probably upgrade their system by the time you manage to configure your Webpack and Babel! 😉
Miscellaneous
- You Don't Need GUI - Stop relying on GUI; CLI ROCKS.