react-search-field
react-search-field copied to clipboard
White page , app crash on page load

I am getting a white screen on page load when I add library
import SearchField from 'react-search-field';
@gdhelp03 can you include the error log in console log (if there's any)?
Hi @nutboltu , I have updated my code, with other component. sorry for not uploading log.
Can you please confirm it's not caused by react-search-field component? @gdhelp03
facing this problem even if I remove all the props.
when I remove this library, every thing works perfectly.
@awais6666 Thanks for raising this issue. It is causing due to the duplicate use of React. It is because of the webpack which doesn't exclude the react from the package so that in the consumer side, there are multiple react version. I am going to release a patch version for now and probably fix the issue later on.
@awais6666 This issue is fixed in 2.0.1 version. Please check and let me know if it works for you.