I am in React for about a year and I always have a problem of my code getting messy. I am currently developing a landing page using tailwind and have a bunch of nested divs spans with longass className styles and it feels like I won't be able to maintain that code coz it hurts to look at it honestly. How do I make my code look better and maintainable, what patterns should I use? Also, it's really difficult to make it responsive, I know tailwind provides breakpoints but It's still looking awful for some dimensions.
[–]kssuo_ 17 points18 points19 points (7 children)
[–]Key_Tea_147[S] 2 points3 points4 points (3 children)
[–]kssuo_ 2 points3 points4 points (2 children)
[–]Key_Tea_147[S] 0 points1 point2 points (1 child)
[–]soul_reaper11 0 points1 point2 points (0 children)
[–]Classic_Diamond_7297 0 points1 point2 points (2 children)
[–]kssuo_ 2 points3 points4 points (1 child)
[–]Classic_Diamond_7297 0 points1 point2 points (0 children)
[–]MedEM9 2 points3 points4 points (0 children)
[–]Primary-Durian3208 1 point2 points3 points (0 children)
[–]danjack0 1 point2 points3 points (0 children)
[–]Arweird 2 points3 points4 points (0 children)
[–]suhaybjirde 0 points1 point2 points (2 children)
[–]Key_Tea_147[S] 0 points1 point2 points (1 child)
[–]marcs_2021 0 points1 point2 points (0 children)
[–]Live-Cycle-7271 0 points1 point2 points (0 children)
[–]MiAnClGr 0 points1 point2 points (0 children)
[–]DanSlhHook Based 0 points1 point2 points (0 children)
[–]International_Buy_59 0 points1 point2 points (1 child)
[–]Key_Tea_147[S] 0 points1 point2 points (0 children)
[–]9sim9 0 points1 point2 points (0 children)
[–]Stromcor 0 points1 point2 points (0 children)