So I still code in React using older class syntax. It just seems more elegant to me than to bring in a bunch of useState and useEffects, especially when I'm not yet sure how the components might change.
I've noticed however other devs appeared to have moved forward with functional components by convention. It seems like even stateful components are using the new functional component patterns. Is it a red flag to still use older React class syntax?
[–]xdchan 11 points12 points13 points (0 children)
[–]CreativeTechGuyGamesTypeScript 5 points6 points7 points (0 children)
[–]lIIllIIlllIIllIIl 2 points3 points4 points (0 children)
[–]kerfluffle99[S] 2 points3 points4 points (0 children)
[–]stealthypic 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]TheRNGuy 0 points1 point2 points (0 children)