Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 1.01 KB

CHANGELOG.md

File metadata and controls

22 lines (15 loc) · 1.01 KB

react-use-caret-position

1.1.0

Minor Changes

  • #73 cb32a6b Thanks @melanieseltzer! - Clean up package.json:

    • Remove jsnext:main as it's deprecated and replaced by module field
    • Add an exports map
    • Mark package as a module
    • Point to TypeScript types
    • Expose UMD and modern bundle

Patch Changes

  • #77 f4579e0 Thanks @melanieseltzer! - Removed conditionals checking existence of the ref object itself. The returned ref object from useEffect always exists, so the checks were unnecessary.

    - if (node && node.current)
    + if (node.current)