appbaseio/searchbox

doesn't works with newer react versions and typescript.

Opened this issue · 2 comments

Describe the bug
the package doesn`t have types and it not works with react 17 and above

To Reproduce
Steps to reproduce the behavior:
when install the package

Expected behavior
expects to works with react 17 and above + typescript

Screenshots
N/A

Desktop (please complete the following information):
any OS/Browser/version

Smartphone (please complete the following information):
All

Additional context
Add any other context about the problem here.

@leandroruel Thanks for reporting this, I recommend using https://npmjs.com/@appbaseio/reactivesearch's SearchBox component instead.

@leandroruel It's always good to attach a reproducible example/ codesandbox link when reporting an issue.

Please check this example where we are using react 18 - https://codesandbox.io/s/nice-black-gn9w22?file=/package.json

Also, #362 updates the peer dependency anyway to >= react@15