Great question.
React Router is a great codebase if you're looking to study. What's interesting about React Router is there aren't a ton of changes being made to it because it's mostly "done" (as much as software can be).
For contributing, I'd say any project that you use and are interesting in. The best PRs come from personal uses cases you run into. Build stuff then let that guide you to what libraries you should help out with.