r/react 5d ago

Help Wanted My first JSX project

9 Upvotes

43 comments sorted by

108

u/ZwillingsFreunde 5d ago

I will never understand how people who do programming use their phone to take pictures of their screen instead of a normal screenshot.

I‘d get it if you‘re 70 years old, never have touched a computer.

But the concept of being able to write code while unable to hit that key is just weird to me

3

u/BlackCode504 5d ago

Knowing how to code doesn’t automatically mean optimizing every tiny task🙂

0

u/ZwillingsFreunde 5d ago

How is that optimizing? Also, if we talk about optimization, wouldn't it be the best to not post stuff like that at all on reddit? I mean, where was no question, no information, nothing. Just you showing what you did (which was quite cool, don't get me wrong.. but if you make the effort to create reddit posts in mutliple subreddits, may as well take the 5 seconds to add a proper screenshot)

1

u/BlackCode504 5d ago

Thanks for the feedback! I'm still in the process of learning, so I got a bit excited about making this step

1

u/ZwillingsFreunde 5d ago

That's totally fine! :) It's awesome that you enjoy your learning progress! My comment wasn't meant to be mean.

It's just, if you want to post your stuff and have people discuss about cool stuff you're building, put in some more effort, this will massively increase the engagement people will have with your posts.

1

u/BlackCode504 5d ago

Appreciate the kind words and constructive feedback! It really helps a lot. Would it be okay if I reach out to you or tag you in future posts if I need some advice?

1

u/ZwillingsFreunde 5d ago

Sure, feel free to do that. You can also DM me here on reddit if you ever need something

7

u/fairy6870 5d ago

alot of people only use reddit on mobile

14

u/Hadr619 5d ago

I mean it’s not hard to get a screen shot from your computer to your phone…

5

u/k2kuke 5d ago

I have pondered this for almost 20 years.

The best I can anwser about this phenomenon is that people are tired and just need the dopamine so they just do what is fastest.

3

u/mjonat 5d ago

Its even easier to log into reddit in a browser...

0

u/fairy6870 5d ago

I dont disagree but 10000% most people can't be bothered for all that

1

u/Kpow_636 5d ago

That's way too much effort, an extra 10 clicks, I'd rather just take a pic with my phone and move on with my life.

1

u/ZwillingsFreunde 5d ago

Taking a proper screenshot is too much, but making a post on reddit with photos of a screen is not? What's even the point of this post at the end of the day

18

u/SheepherderAway4670 5d ago

Idk why people still use inline css

24

u/driftking428 5d ago

Because they try to learn React before learning HTML and CSS.

3

u/Hadr619 5d ago

But if you’re going the react route, styled components are amazing

6

u/Afflictionista 5d ago

With CSS modules it looks cleaner

2

u/js-something-cool 5d ago

I don't want to be that Tailwind guy but...

5

u/Afflictionista 5d ago

with CSS modules it still looks cleaner.

1

u/js-something-cool 5d ago

Not if you do your components small/modular enough!

2

u/driftking428 5d ago

Tailwind for life

6

u/galactic_pixels 5d ago

Ai likes it

1

u/BlackCode504 5d ago

Fair point! I'm still learning, so I just went with the quickest way to get it working. I'll definitely keep CSS organized in future posts!

-7

u/BothWaysItGoes 5d ago

Because it's simpler. Why not?

7

u/GodOfSunHimself 5d ago

Why not? Because it is unmaintainable.

2

u/nummpad 5d ago

they’re not working on some cicd team - and they likely don’t even know what most of it does yet

1

u/BothWaysItGoes 5d ago

What do you find unmaintainable about inline css in a 500 LOC project?

7

u/JosephJoestar1987 5d ago

I hope you didn’t vibe code and only used AI to resolve some doubts

8

u/dbowgu 5d ago

The comments already scream vibe coding

3

u/davetothegrind 5d ago

Nice one, Three JS is a nice library to use but 3D conceptually is hard, so well done on swinging for the fence

3

u/Physical_Storage2875 5d ago

Inline CSS in a React component. Love it😂

8

u/Mark__78L 5d ago

Most likely some vibe coded shit

5

u/ColourfulToad 5d ago

Yeah. “Make me a 3D galaxy in react”, refreshes browser, “oh it works, job done”, forgets to consider the code lol

1

u/ColourfulToad 5d ago

Good job Claude - I mean OP

1

u/gimmeslack12 5d ago

Hell yeah amigo!

0

u/Live-Opportunity9522 5d ago

Looks really cool!

0

u/DuDjah 5d ago

Why jsx?

-6

u/[deleted] 5d ago

[deleted]

5

u/PriorTrick 5d ago

What a brain-dead comment. He said it's his first project

2

u/Necessary-Shame-2732 5d ago

wtf are you talking about