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

Upgrade docs from 1.18.3 to 9.3.2 #457

Closed
bytor99999 opened this issue Oct 19, 2017 · 2 comments
Closed

Upgrade docs from 1.18.3 to 9.3.2 #457

bytor99999 opened this issue Oct 19, 2017 · 2 comments

Comments

@bytor99999
Copy link

Just curious if there is any documentation on deprecations/changes that we need to do in our code to upgrade to the latest version of react-autosuggest. We have a dev working on our upgrade that is having difficulty determining what we need to change.

Thanks

Mark

@moroshko
Copy link
Owner

react-autosuggest was rewritten a couple of times since 1.18.3. You can see the changes here.

But, honestly, I think it would be easier to start from scratch and implement the latest version of react-autosuggest following the docs and the Codepen examples.

@bytor99999
Copy link
Author

Thanks for the quick response. I think our issue is that back then someone created a custom component in our code that extends AutoSuggest and we are trying to start from scratch. I think the first attempt was to use this custom class that extends it and encapsulate the changes such that the code in the other parts of our application could be relatively unchanged. But I don't think that will work.

So I am going to try and learn the new way and see if I can change all the places that uses it. It is just very complex to do, we have one addressPicker component that is actually 5 subclasses down. Yep, different versions of addressPickers where each is an extension of the other. 👍

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

2 participants