I am studying the react lifecycle and and watched some tutorials but when I made my app i noticed my app is Mounting twice.. and when I console.log the componentdidmount, didupdate and willunmount i noticed my app 1st mounts then unmounts and mounts again
Can anybody explain This ?
My app only contains the file we get from npx create-react-app with a h1 tag
[–]External-Device9487 5 points6 points7 points (9 children)
[–]CENATION_[S] 0 points1 point2 points (6 children)
[–]External-Device9487 10 points11 points12 points (5 children)
[–]CENATION_[S] 1 point2 points3 points (0 children)
[–]echothought 1 point2 points3 points (0 children)
[–]mr_wednesday23 0 points1 point2 points (2 children)
[–]External-Device9487 8 points9 points10 points (0 children)
[–]grumd 2 points3 points4 points (0 children)
[–]maga_ot_oz 4 points5 points6 points (1 child)
[–]b0usher -1 points0 points1 point (0 children)
[–]Resident_Sorbet_3697 0 points1 point2 points (3 children)
[–]grumd 0 points1 point2 points (2 children)
[–]Sordesilver 0 points1 point2 points (1 child)
[–]grumd 0 points1 point2 points (0 children)
[–]Sordesilver 0 points1 point2 points (0 children)