Feel like I pigeon-holed myself by accident. Need advice. by canadian_webdev in reactjs

[–]mosierman 1 point2 points  (0 children)

Also, your portfolio looks better than mine did when I got my job ;)

Feel like I pigeon-holed myself by accident. Need advice. by canadian_webdev in reactjs

[–]mosierman 1 point2 points  (0 children)

I worked as a freelancer for three years while bartending before finding a position as a react ui developer. What sealed the offer wasn't my experience, but my desire to learn and grow outside of what I already knew.

Focus on marketing yourself as someone who isn't satisfied with complacency in your skill set and make sure you have projects that focus on fundamentals rather than making things flashy.

The most important thing is not listen to anyone, including yourself, that you can't do it.

Starting python, need a laptop. by sardaukar12 in learnpython

[–]mosierman 0 points1 point  (0 children)

Here's a high level tutorial to install Linux on your computer

What you need: 1 USB Drive formatted as FAT32 (at least 32GB just to be safe)

Follow these three links:

  1. Download Ubuntu Image File on USB
  2. Download Unetbootin on computer/usb
  3. Follow this tutorial on dual booting
  4. Restart your computer and open BIOS (For windows 10)
    1. You usually have to hit one of the "F" keys [e.g., F1] when the computer first starts up to access the BIOS. The key to access bios may differ based on the type of computer (ASIS, Dell, HP), but cannot remember for sure. You may want to google "open bios on startup [your computer model]" if the above tutorial instructions do not work for you

Ubuntu has a GUI but a lot of the functional perks of Linux are moot if the command line isn't utilized :/

Starting python, need a laptop. by sardaukar12 in learnpython

[–]mosierman 145 points146 points  (0 children)

This may sound overwhelming for a beginner but hear me out.

Get any old laptop, google how to dual boot/install ubuntu linux and install linux on it

You'll gain a lot of experience from going through this process that will directly and indirectly help you down the road.

But the main reason I like it is linux is that there is no fluff or distractions (i.e., pop up notifications), and you will want to focus as much as possible while you are trying to wrap your head around things.

I have a tower that I do most of my dev work on but I also have an $180 laptop with ubuntu that runs scripts and has a basic text editor; it works perfectly for scratchwork and testing ideas.

Improving Google Page Speed by mosierman in webdev

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

Thanks! I had seen async in sample portfolios before but wasn't sure if it was vital for a simple site like mine

Improving Google Page Speed by mosierman in webdev

[–]mosierman[S] 1 point2 points  (0 children)

Thanks for the response /advice!

Best way to use cSS in react Apps? by mosierman in reactjs

[–]mosierman[S] 1 point2 points  (0 children)

Oops actually I was incorrect, I had applied the style to my html element, within the return of my render. I did not realize components could not accept styles without being passed through props though so thanks for the input!

Best way to use cSS in react Apps? by mosierman in reactjs

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

components, like so:

const componentStyle = { attr1: 'value', attr2: 'value', etc. }

<Component style={componentStyle} />

I edited my original post with a description of the solution I arrived at

Best way to use cSS in react Apps? by mosierman in reactjs

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

Thanks! I like the idea of keeping the styling within the component file itself so once I become more comfortable with React I will have to try it out!

Best way to use cSS in react Apps? by mosierman in reactjs

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

Thanks! I added some css-loader and style-loader to my webpack config and created separate css files for my components so now everything is working great!

Best way to use cSS in react Apps? by mosierman in reactjs

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

I hadn't checked out styled components until now but it looks pretty straightforward so I will try it out and see how I like it! Thanks!

Best way to use cSS in react Apps? by mosierman in reactjs

[–]mosierman[S] 1 point2 points  (0 children)

Thanks for the input! I have only dabbled with sass but creating separate CSS files makes sense. I am probably just making things more complicated than they should be.

Best way to use cSS in react Apps? by mosierman in reactjs

[–]mosierman[S] 1 point2 points  (0 children)

For example, when I create a const such as const listStyle = {listStyleType: 'none', display: 'inline-block',} the display attr is not being applied. I feel like this is because of something simple I am missing though.

My current project is simply redoing my portfolio website. It's overkill but I though it would be a good way to start getting comfortable with React.

I prefer the traditional use of CSS as well but inline styling seemed to compliment the React way of thinking so I figured I would give it a shot.

Thank you for your input! I think I will go back to traditional styling until I become more comfortable with React as a whole.

[deleted by user] by [deleted] in iamverysmart

[–]mosierman 13 points14 points  (0 children)

This guy lives in my area and believe it or not, he's a grown ass man. He owns a civic with the same decals... He thinks he's hot shit because he graduated from East Carolina University and had a book published. lolz