instacart / instacart/Snacks

Expose refs for all components

Open
#126 5 comments 0 reactions 2 assignees Claimed by @mmarcuccio View on GitHub
enhancement WIP
Dominant language
JavaScript
Stars
82
Forks
36
PR merge metrics
No merged PRs in 30d

Description

Many of our components do not set a `ref` on their main output, so users of the library will be forced to use [findDOMNode](https://reactjs.org/docs/react-dom.html#finddomnode) to do things like focus on a button or input.

We should add a `ref` to each component to help with this.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.