Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doesn't works with newer react versions and typescript. #361

Open
leandroruel opened this issue Sep 22, 2023 · 2 comments
Open

doesn't works with newer react versions and typescript. #361

leandroruel opened this issue Sep 22, 2023 · 2 comments

Comments

@leandroruel
Copy link

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.

@siddharthlatest
Copy link
Member

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

@mohdashraf010897
Copy link
Member

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants