Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
PrivateGER1417259dMaybe you could take over some tasks of that guy.
Sounds like he's completely overworking himself.
An API in Python and the frontend? For a newcomer that sounds too short of a deadline even without knowing the dimensions of the project. And he may be smart, but as Python is new to him, he'll probably half-ass a few things without even knowing it before it's too late.
Your boss is indeed a thoroughbred moron.
@azous What do you mean with 'enforced CSS in React components'?
@azous Ugh, I fucking hate that. I only do that when it's absolutely necessary for the component to work right and components aren't build in a strictly modular way (ironically mostly people who think React sucks are the ones who complain about that).
Just put your components in a folder named after the component with an index.js file for the entry point and a styles.css for the components styles. Put subcomponents that belong to this parent in the same folder and container components in a subfolder called containers. It's really not hard to make things modular in React.
You know all this, maybe you do it even differently, but newcomers take a long time to figure this out sometimes.
hell1555658d@AlexDeLarge yeah, I do it a little different, but I'm really no front end dev so I end up not going deep into studying it.
Anyway... My boss is making these kinds of half assed decisions now, the kinds that if you think for 10 seconds you can see it sucks.
I'm gonna try to convince him to reconsider this CSS one...
Thank you for the tips :)
@azous That's what I meant, that you're doing it differently doesn't mean it's wrong, as long as you do what your boss didn't, and think about it.
Just because I'm curious, how do you set up the component folder structure?
hell1555658d@AlexDeLarge I made only one react/redux project so far but I structure it somehow like this:
The *Container component has the props and dispatches mapped from redux store and just pass it tho the "dumb" components that are organized under its render method
As far as CSS goes I'm using a React material lib because It was asked too at the beginning of the project, so most my custom CSS goes into the components anyway.
But if I have to do something more advanced with CSS I use a CSS file but I end up using only one because it doesn't have more than 40 lines anyway and this project is such a rush, its the motive of my rage for the past 5 months 😂😂
hashedram518838dExchange work with the front end guy?
Your Job Suck?
Take a quick quiz from Triplebyte to skip the job search hassles and jump to final interviews at hot tech firms
Get a Better Job