react-datasheet-grid icon indicating copy to clipboard operation
react-datasheet-grid copied to clipboard

Docs: `genId()` is confusing

Open tordans opened this issue 1 year ago • 0 comments

The docs mention genId() in multiple places which signaled to me that is something the library provides. Examples

  • https://react-datasheet-grid.netlify.app/docs/performance/static-vs-dynamic
  • https://react-datasheet-grid.netlify.app/docs/examples/unique-ids/

However, the docs don't go into any details on genId.

Searching the code https://github.com/search?q=repo%3Anick-keller%2Freact-datasheet-grid%20genId&type=code it looks like genId is a helper I should write myself.

Suggestion:

Update the docs to clarify that this is something I need to handle myself. Especially on the https://react-datasheet-grid.netlify.app/docs/examples/unique-ids/ page.

tordans avatar Oct 28 '24 16:10 tordans