Getting a Alert to Show Up Once When The Component Gets Put On Screen
Hello,
I am trying to check a cookie and then show a
alert()
, though with React 18's mount twice thing I am not sure how I should go about doing this. Could anyone provide some advice?
Thanks!0 Replies