Describe the bug
the ESM build seems to be broken.
To Reproduce
Steps to reproduce the behavior:
yarn add react-select-search@4.1.9
cat node_modules/react-select-search/dist/esm/index.js | grep "\$useRef"
var ref = (0, $6XpKT$useRef)();
expected: something defines $6XpKT$useRef
actual: nothing seems to define $6XpKT$useRef. an error that it's not found is thrown in the console.
Additionally, the default export appears to be missing broken with Node versions past 18.19, and one has to do
import SS from "react-select-search";
const SelectSearch = SS.default;