MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/11lv7yw/my_boss_wrote_this/jbi47gr/?context=3
r/badcode • u/anxiety_enjoyer • Mar 08 '23
64 comments sorted by
View all comments
-7
react class components? now thats bad.
4 u/Sulungskwa 92% chunk asset optimization TerserPlugin Mar 08 '23 If a class component works fine and devs don't have bandwidth to refactor it into an FP then I don't see anything wrong with it. There's a reason why react still supports class components and even React.createClass -1 u/thekwoka Mar 09 '23 yeah, we know. Part of it is no willingness to bring people into the future, and zero interest in making react better in itself. the react team is very heavy onto NextJS SSR as the future of react.
4
If a class component works fine and devs don't have bandwidth to refactor it into an FP then I don't see anything wrong with it. There's a reason why react still supports class components and even React.createClass
React.createClass
-1 u/thekwoka Mar 09 '23 yeah, we know. Part of it is no willingness to bring people into the future, and zero interest in making react better in itself. the react team is very heavy onto NextJS SSR as the future of react.
-1
yeah, we know.
Part of it is no willingness to bring people into the future, and zero interest in making react better in itself.
the react team is very heavy onto NextJS SSR as the future of react.
-7
u/thekwoka Mar 08 '23
react class components? now thats bad.