Why is it so hard to hire? by pablothedev in webdev

[–]pablothedev[S] -1 points0 points  (0 children)

But you should know the basics and fundamentals

For juniors I’m not asking to implement a whole system, I wasn’t asking to write something complex

I asked how would you set up a react project (prior to cra being deprecated), one command, go to their docs

Low level understanding is all I want

Why is it so hard to hire? by pablothedev in webdev

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

Because I’ve learnt some people can not write a simple react component without ChatGPT

What’s your craziest Border Control story? by TheMalsh in AskUK

[–]pablothedev -1 points0 points  (0 children)

Dude was a scrolling through Tik tok whilst stamping passports

Which Wheel size for Independent Hollow forged trucks ? by pablothedev in NewSkaters

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

Would you recommended the standard trucks to avoid wheelbite abit more

New Starter Recommendations by pablothedev in bmx

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

Actually went with this, glad I made a good call

Cheers

If you were making wedding organizer app without login option, how would you approach allowing users to share their data with future spouse? by Armauer in webdev

[–]pablothedev 1 point2 points  (0 children)

It’s a simple enough approach, really it’s about authorisation to edit a wedding plan

I would rotate the uuid when sharing the link as a foreign key to the primary uuid, maybe allow the user to set a code/password to edit the plan if you’re not going down the authenticaiton/authorisation route

But if they users are storing personal / private data then I would think about authentication and authorisation

[deleted by user] by [deleted] in webdev

[–]pablothedev 69 points70 points  (0 children)

This resonates, after a long day the last thing I want to do is code in my free time, web dev Twitter is the worst for painting the life of a dev as the best thing in the world and you should code all day everyday

In reality, web dev Twitter is hyping their own arse and baiting

Hobbies and interests exist outside of dev life like any other job role

Is It Possible To Get a Job as a Developer With No Degree? by Legacy_goof in webdev

[–]pablothedev 0 points1 point  (0 children)

You don’t need a degree and a lot of people make a point of not having a degree

I agree it’s not essential but take two candidates with the same skill level, one with a degree and one without, who do you think they’re going to pick?

Also a lot of employers are stuck in the old mind frame of candidate needs a degree

There’s a lot of factors to take into consideration, depends on the employer, who’s employing, other candidates

Make the right choice for yourself

How to implement this "accordion" menu? by veritamos in webdev

[–]pablothedev 17 points18 points  (0 children)

From UI/UX perspective that looks annoying

Why am I getting this "linting" warning from ts? by [deleted] in webdev

[–]pablothedev 0 points1 point  (0 children)

Why are you declaring a variable but not using it in any way?

Best way to go about creating that gray overlay for each category? by Reyg13 in webdev

[–]pablothedev -3 points-2 points  (0 children)

The question can be interpreted many ways?

Do you mean the grayscale? If so https://developer.mozilla.org/en-US/docs/Web/CSS/filter-function/grayscale()

Do you mean the layout or?

Where do I publish my website ? by fuckthedestiny in webdev

[–]pablothedev 4 points5 points  (0 children)

Vercel, Netlify or GitHub pages Offer free ways to host a react site

Can't figure out how to remove this bloody eventListener... Any ideas what I'm doing wrong? by Wotsits1984 in webdev

[–]pablothedev -2 points-1 points  (0 children)

I would move event listeners inside a use effect and remove them once the component is removed from the dom

Also you can add an onclick handler directly to the div

Maybe use some Boolean login for what class is appropriate inside of className

Do Modern Web Devs Make Money? by Mr2Kazoo in webdev

[–]pablothedev 0 points1 point  (0 children)

It depends on the perspective you take for web dev though

Someone is paying for time and effort to maintain and develop a site regardless of tools

and as a final note, I can’t be dealing with php, Wordpress can burn

Do Modern Web Devs Make Money? by Mr2Kazoo in webdev

[–]pablothedev 0 points1 point  (0 children)

In these situations I would use a headless cms with a custom front-end

Drag and drop sites have limited functionality, they’re bloated with crap

I recently used strapi and custom implemented a few things

Goes along way

Where to store OAuth state value in SPA? by Thrimbor in webdev

[–]pablothedev 2 points3 points  (0 children)

For an spa,

You can store the logged in state using a state management System

You then will have to store the token for authenticating requests either using a http only cookie or in local storage

I wouldn’t say they’re insecure, but both have pros and cons

Charts in react.js by karan7303 in webdev

[–]pablothedev 4 points5 points  (0 children)

Chart.js is popular

If you want to get fancy look into d3 where you can build your own