nessie-ui

10.0.0-alpha.17 • Public • Published

Nessie

Nessie is the dunnhumby media UI component library.

Focus Management

Don’t use refs for focus management. By convention we always return the outermost element of a given component as ref. This is not necessarily the thing that should receive focus.

Instead, pass a unique id to the component and use document.getElementById(myId).focus() to focus it.

We’ll always make sure that the DOM element with id is the thing that you want to focus.

Package Sidebar

Install

npm i nessie-ui

Weekly Downloads

2

Version

10.0.0-alpha.17

License

MIT

Unpacked Size

25.8 MB

Total Files

1157

Last publish

Collaborators

  • sociomantic-tsunami