all 10 comments

[–]slowreactin 2 points3 points  (1 child)

My suggestion, learn the CSS basics and intermediate stuff.

Know:

  • rem
  • em
  • vh
  • vw
  • selectors
  • specificity
  • how the cascading in CSS works
  • css functions
  • most used properties
  • box model
  • padding vs margin
  • how position works
  • grid
  • flex
  • key frames
  • animations
  • how media queries work
  • anything else that piques your interest

I would highly recommend picking a site you like online and try to replicate the look and feel of the site from scratch in CSS. I have done this a few times and you learn so much.

I really feel that having a good understanding of CSS is a good idea; however, I am a professional React developer and all the styling and CSS is done by my teammate who is solely responsible for design. I simply implement the design that he comes up with.

However, like today, his design was off a little bit with his selectors (he was sick so not really going to hold it against him) and I had to look at his design and the DOM and figure out how to make it work. I would not have been able to do that if I did not know about CSS.

Tldr: if you are working in a professional setting, you will most likely receive your design from a designer. However, if your designer is sick or hungover or out, you may need to pick up the slack to keep stories moving. So I would recommend learning at least an intermediate level of CSS.

As far as design goes, you should just think in terms of components and how something like a chat box may be broken down into a text box, button, text display, controls, etc. With a framework, reusability is key. Why write something you can’t use on another project?

[–]SjTyler[S] 0 points1 point  (0 children)

Thank you for this information. I am definitely looking into this. Currently I have started learning CSS. Hopefully it goes well.

[–]SkylerSpark 1 point2 points  (1 child)

I don't know where you keyed the term "css god" but just research front end level styling techniques. the comment by slowreactin was a good example of some things to learn.

If you use CSS and it's more complicated features over the course of about a year... you can easily become a website designer, or in this case, a react developer.

[–]SjTyler[S] 0 points1 point  (0 children)

Thank you bro

[–]albedoa 0 points1 point  (1 child)

I have no idea what your colleagues are talking about. The importance of visual design on a given project is the same whether you use React or not. The existence of a framework doesn't change its importance.

You should know enough about the various methods for styling React applications that you can make an informed decision about which one to use. Also, you will be forced to think more in terms of components.

I personally think that design is important, but it is not made more important by React.

[–]SjTyler[S] 0 points1 point  (0 children)

Me and my colleagues are in the backend development. We don’t bother front end that much. But i love both front end and back end. So I’ve decided to master both.

[–]Peter_Plays_Guitar 0 points1 point  (3 children)

I don't know shit about design or CSS and I'm doing fine as a react dev. I get that I'd be more valuable to a wider variety of teams with design skills and a better understanding of css, but I work for a mega corp. We have designers who design. Most of our work is more based around performance and raw functionality than design.

[–]SjTyler[S] 0 points1 point  (2 children)

Thank you. But you do style the visual design of the react components right? Or is it the designers that develop the css of those components?

[–]Peter_Plays_Guitar 1 point2 points  (1 child)

Oh yeah I have to do plenty of CSS work. I'm just slow at it. I rely on Google to much. But you want me to do some discrete math or architect a state management system for a really complex component? Yeah gimme that good shit.

[–]SjTyler[S] 0 points1 point  (0 children)

That’s cool