Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "terrified"
-
!rant
AHHHHHHHH I MADE AN OFFER ON A HOUSE
AHHHHHHHHHHHHHHHHH THEY ACCEPTED
AHHHHHHHHHHHHHHHHHHHHHHH INSPECTION DIDN’T TURN UP ANYTHING HORRIBLE
AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH32 -
Finally got rid of my old job I ranted about so much. Started a new one on Monday. A bit anxious and terrified (there is a lot to learn) but it feels good. The team is fun and they know what they are doing. BUT most importantly: they know how to plan projects and know how to intervene if a project is about to run out of resources. NICE.
I'll keep you posted on how it goes1 -
So I am new to coding — excited to be learning but terrified to get out and find some sort of job when that time comes.8
-
I’m so sorry if this is the place for questions. I’m terrified of stack overflow and have been searching for a week for a solution and can’t find one. This is for React.js people.
I was tasked to create a webpage with react. The limitation is, they did not wanna adopt the node.js dependency. I said ok, I’ll figure it out. You can inject react, material UI, and babel with script tags in HTML, then put ur lil components in it. I did that and it works beautifully.
However, now I have to write tests for this. I think it’s actually impossible without a way to render React, so I have to use the browser, or node, right? I convinced my boss to allow me to use a node.js container just for testing, which I thought would make my life easier.
I don’t know how to render this thing with node. It’s just an HTML file that pulls react via script tags, and idk how to serve html with node. Additionally, none of the React testing libraries seem to support testing a system that wasn’t designed to be served with node, at least not easily. My gut tells me that the complication with how things are imported contributes at least a little to this (dependencies pulled via script tags in the HTML file and made available to react through global const variables).
I could be wrong about any of this — im fairly new. But how tf do I go about testing these react components? For reference, if you go to Reacts docs, there’s a section called “add react to a page in one minute” that’s pretty much what I did.20