react-search-field icon indicating copy to clipboard operation
react-search-field copied to clipboard

White page , app crash on page load

Open gdhelp03 opened this issue 5 years ago • 7 comments
trafficstars

white screen

I am getting a white screen on page load when I add library import SearchField from 'react-search-field';

gdhelp03 avatar Oct 20 '20 18:10 gdhelp03

@gdhelp03 can you include the error log in console log (if there's any)?

nutboltu avatar Oct 21 '20 03:10 nutboltu

Hi @nutboltu , I have updated my code, with other component. sorry for not uploading log.

gdhelp03 avatar Oct 24 '20 07:10 gdhelp03

Can you please confirm it's not caused by react-search-field component? @gdhelp03

nutboltu avatar Oct 24 '20 07:10 nutboltu

error facing this problem even if I remove all the props.

awais6666 avatar Jul 10 '21 12:07 awais6666

when I remove this library, every thing works perfectly.

awais6666 avatar Jul 10 '21 12:07 awais6666

@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.

nutboltu avatar Jul 10 '21 23:07 nutboltu

@awais6666 This issue is fixed in 2.0.1 version. Please check and let me know if it works for you.

nutboltu avatar Jul 11 '21 13:07 nutboltu