惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Cisco Talos Blog
Cisco Talos Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
爱范儿
爱范儿
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Jina AI
Jina AI
雷峰网
雷峰网
The Register - Security
The Register - Security
The Cloudflare Blog
博客园 - 【当耐特】
M
MIT News - Artificial intelligence
I
InfoQ
博客园 - 三生石上(FineUI控件)
H
Help Net Security
博客园 - 司徒正美
Vercel News
Vercel News
WordPress大学
WordPress大学
S
SegmentFault 最新的问题
云风的 BLOG
云风的 BLOG
B
Blog
Google DeepMind News
Google DeepMind News
B
Blog RSS Feed
L
LangChain Blog
人人都是产品经理
人人都是产品经理
GbyAI
GbyAI
T
The Blog of Author Tim Ferriss
T
Tailwind CSS Blog
aimingoo的专栏
aimingoo的专栏
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Recorded Future
Recorded Future
小众软件
小众软件
Martin Fowler
Martin Fowler
罗磊的独立博客
Stack Overflow Blog
Stack Overflow Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
酷 壳 – CoolShell
酷 壳 – CoolShell
腾讯CDC
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Apple Machine Learning Research
Apple Machine Learning Research
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - Franky
Hugging Face - Blog
Hugging Face - Blog
Y
Y Combinator Blog
V
Visual Studio Blog
F
Fortinet All Blogs
Microsoft Azure Blog
Microsoft Azure Blog
大猫的无限游戏
大猫的无限游戏
Engineering at Meta
Engineering at Meta
N
Netflix TechBlog - Medium
V
V2EX
Blog — PlanetScale
Blog — PlanetScale

Kent C. Dodds Blog

Implementing Hybrid Semantic + Lexical Search Simplifying Containers with Cloudflare Sandboxes Migrating to Workspaces and Nx Offloading FFmpeg with Cloudflare Building Semantic Search on my Content Helping YOU ask ME questions with AI How I used Cursor to Migrate Frameworks The Dow's Start on the Covenant Path 2025 in Review The next chapter: EpicAI.pro AI is taking your job How I increased my visibility Launching Epic Web 2023 in Review Stop Being a Junior RSC with Dan Abramov and Joe Savona Live Stream Fixing a Memory Leak in a Production Node.js App 2022 in Review My Car Accident I Migrated from a Postgres Cluster to Distributed SQLite with LiteFS I'm building EpicWeb.dev A review of my time at Remix Remix: The Yang to React's Yin How I help you build better websites Why I Love Remix The State Initializer Pattern How to React ⚛️ Get a catch block error message with TypeScript Building an awesome image loading experience How Remix makes CSS clashes predictable Introducing the new kentcdodds.com How I built a modern website in 2021 How to use React Context effectively Static vs Unit vs Integration vs E2E Testing for Frontend Apps The Testing Trophy and Testing Classifications Array reduce vs chaining vs for loop Don't Solve Problems, Eliminate Them Super Simple Start to Remix Super Simple Start to ESModules in Node.js JavaScript Pass By Value Function Parameters How to write a Constrained Identity Function (CIF) in TypeScript How to optimize your context value How to write a React Component in TypeScript TypeScript Function Syntaxes Listify a JavaScript Array Build vs Buy: Component Libraries edition Using fetch with TypeScript Wrapping React.useState with TypeScript Define function overload types with TypeScript 2020 in Review Business and Engineering alignment Hi, thanks for reaching out to me 👋 useEffect vs useLayoutEffect Super simple start to Firebase functions Super simple start to Netlify functions Super Simple Start to css variables Favor Progress Over Pride in Open Source Testing Implementation Details How getting into Open Source has been awesome for me useState lazy initialization and function updates Use ternaries rather than && in JSX Application State Management with React Use react-error-boundary to handle errors in React JavaScript to Know for React How I structure Express apps When I follow TDD AHA Programming 💡 How I Record Educational Videos Should I write a test or fix a bug? Stop mocking fetch Intentional Career Building Improve test error messages of your abstractions Tracing user interactions with React Eliminate an entire category of bugs with a few simple tools Common mistakes with React Testing Library Super Simple Start to React Stop using client-side route redirects The State Reducer Pattern with React Hooks Function forms Replace axios with a simple custom fetch wrapper How to test custom React hooks React Production Performance Monitoring Should I useState or useReducer? Stop using isLoading booleans Make Your Test Fail Make your own DevTools An Argument for Automation Fix the "not wrapped in act(...)" warning Super Simple Start to ESModules in the Browser Implementing a simple state machine library in JavaScript 2010s Decade in Review Why users care about how you write code Why I avoid nesting closures Don't call a React function component Why your team needs TestingJavaScript.com Inversion of Control Understanding React's key prop How to Enable React Concurrent Mode How to add testing to an existing project Profile a React App for Performance
What open source project should I contribute to?
Pranu Sarna @sarna_pranu · 2020-07-06 · via Kent C. Dodds Blog

This is a question I've had countless times:

@kentcdodds hey Kent! went through your post on Get started contributing to open source, Wanting to make some contributions. Guide me master

1 3

Pranu's first pull request came soon after tweeting this

And in direct messages, emails, etc. The general gist of it is: "What open source project can you recommend I start contributing to?" Many of these people read my First Timers Only post and are hoping to find a project that is friendly to newcomers making pull requests.

The Answer

My silver bullet answer comes from my blog post Open Source Stamina:

You contribute best to something you use regularly

Where I've found the most satisfaction out of contributing to open source is in projects that matter to me and (possibly) others. And then contributing to that project regularly. To do that, you need to have an understanding of the use cases and pains associated with a particular tool or library. This is why I say it's best to contribute to something you use regularly.

What open source libraries/frameworks/tools do you use regularly? Perhaps you're working with Webpack and feel like a configuration option could be improved or documented better. Or maybe you're working with a React or Vue library that could use a little polish. One thing's certain: whatever you're building, you're probably using an open source project or tool that you could personally benefit from contributing to.

Step 1: Open your package.json and read through the dependencies you have. Think back on your experience learning and using that module. Remember struggling with one of them? Pick that one.

Contributing

Once you've found the project you want to contribute to, how do you know what to contribute? Many projects have a CONTRIBUTING file. Look for that first to find instructions for contributing to the project. If there isn't one, there may be instructions in the README (normally shown on the homepage of the project). If there aren't any such instructions, you might submit a pull request to add just a skeleton CONTRIBUTING.md file to start a conversation about adding one.

Familiarize yourself with the project. Reading documentation is good, but my favorite way to learn how a project works is by reading the code. My favorite way to do this is by sticking a debugger before I call a library function or when a library calls my function and jumping around the call stack, like this:

Step through the code and you'll learn a lot about how the framework/library works. Don't worry if you don't understand what's going on right away. That will come with time. Keep at it. You can do it! You can do this same thing with non-browser based tools with your favorite node debugger (or add console.logs).

Once you've figured out the standards and processes for contributing to the project and familiarized yourself with its inner-workings a bit, you'll need to identify the changes that the project needs. I recommend you look at existing issues and comment on ones you think are interesting. Work with the maintainer(s) to identify a good implementation and make your pull request!

If you have your own idea of a bug fix or a feature you want to implement, I strongly recommend you run it by the project maintainer(s) in a GitHub issue first. Perhaps they'll say it's out of scope for the project or they're working on it, or they could give you some direction. You'll waste less time by making sure your pull request will be accepted before you make it (just like how I was certain my wife would answer "yes" when I asked her to marry me before I asked 😃).

Also, see this page for more tips on contributing.

Your First Pull Request

For your first pull request, feel free to just find a random project out there with a good first timer bug/feature and try your hand at contributing. Let the project maintainer know that you're new and are wanting some guidance to learn how to get into it. Maybe they're too busy to help, if so, move on and find another project. That first contribution is the hardest, you may want some help and coaching. The actual code contribution matters less than learning the process. So find a project or someone who has time and patience to mentor you.

You might also be interested in watching my free egghead.io course How to Contribute to an Open Source Project on GitHub:

Course Artwork

Resources

Take a look at GitHub's issues for issues labeled first-timers-only, good for beginners, good first bug (or good-first-bug), or help wanted (more here... we need to standardize on this).

Also, here are good resources for finding simple ways to contribute:

Your First PR (@yourfirstpr)

first-timers-only (@first_tmrs_only)

24 Pull Requests

Up For Grabs

MunGell/awesome-for-beginners

My first PR was to fix a typo in a comment (find yours). It was super small and it was to a project that I didn't really use all that much (discovered the typo when stepping through their code in a debugger). It was a great first contribution, even though I didn't really make a lasting impact on the project and I wasn't motivated to continue contributing, it got me over the hump of contributing for the first time which is the hardest part.

Conclusion

Contributing to open source has been awesome for me and I highly recommend others to get into it. It's really hard getting started, but once you get over the first contribution, making future contributions is much easier. It's not all roses. The open source community has its warts here and there. Keep working at it. You'll do great! Good luck!

By the way, if you're interested in creating your own project, be sure to check out my series on egghead.io:

How to Write an Open Source JavaScript Library