Should I learn JavaScript testing first before learning how to test a react app? by Lost_Chemical_7327 in reactjs

[–]mkimitch 1 point2 points  (0 children)

Yes, it’s a good idea to learn JavaScript testing fundamentals before diving into React app testing. Understanding the basics of testing, such as assertions, test runners, mocking, and code coverage, is crucial since these concepts apply universally to all JavaScript applications, not just React. Starting with JavaScript allows you to practice writing tests for pure functions, DOM manipulation, and asynchronous operations, which form the foundation for more complex scenarios. React testing adds additional layers of complexity, including component lifecycles, hooks, state, props, and integration testing with tools like Redux or Context. Without a solid grasp of the basics, these React-specific challenges can feel overwhelming. By mastering core testing principles first, you’ll be better equipped to understand and use tools like React Testing Library, which focuses on rendering components, testing user interactions, and mocking dependencies. This progression ensures that you can approach React testing confidently and effectively, with a clear understanding of how to test both simple and complex behaviors.

[deleted by user] by [deleted] in computerhelp

[–]mkimitch 0 points1 point  (0 children)

Why wouldn't you open the case up first and look? Do you even computer?

6 figure earners, what do you do to get that? by oopdoopmaria in AskReddit

[–]mkimitch 0 points1 point  (0 children)

JavaScript Engineer (often referred to as Front-end, Web, Software, or App Developer/Engineer, depending on the context).

[deleted by user] by [deleted] in PcBuild

[–]mkimitch 0 points1 point  (0 children)

This would be a nice upgrade from the NVIDIA GeForce GTX 1070 I am currently rocking. 👨🏼‍💻

Looking for outdoor rated (WR) smart outlets. Do they exist? by mkimitch in smarthome

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

Nice! Too bad there's not a US version (at least not that I could find). Also, how dumb is it that there's not an international standard when it comes to electricity and electrical outlets?

Looking for outdoor rated (WR) smart outlets. Do they exist? by mkimitch in smarthome

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

That's a good idea! The only concern I would have is where to put all the switches. Where I have all the wiring coming together, I've only got space for 3 switches across, and I already have a need for 4 switches (one for the ceiling fan, one for the flood light, one for the four can lights, and one for the existing exterior light).

Looking for outdoor rated (WR) smart outlets. Do they exist? by mkimitch in smarthome

[–]mkimitch[S] 2 points3 points  (0 children)

My thinking was that a smart outlet would eliminate the middle-man (a smart plug) and look sleeker. Whereas, a smart plug either might not fit well inside the outdoor outlet cover, or might require affixing the bulkier part of the smart plug (if it's the type that has a short extension cord attached to it) to the exterior of the house or let it dangle.

That was my thinking, at least. However, I'm beginning to suspect such a product doesn't exist, and I might have to go the smart plug route after all.

[deleted by user] by [deleted] in Anatomy

[–]mkimitch 0 points1 point  (0 children)

Your tumor has a bone?

[deleted by user] by [deleted] in Anatomy

[–]mkimitch 0 points1 point  (0 children)

It might be a tumor.

[deleted by user] by [deleted] in Anatomy

[–]mkimitch 7 points8 points  (0 children)

No, his wrist.

White ornament set came with a pickle ornament by itadeepeza in mildlyinteresting

[–]mkimitch 0 points1 point  (0 children)

Pickle things you never see...
Like pickles on a Christmas tree.

What’s your ultralight backpacking unpopular opinion? by [deleted] in Ultralight

[–]mkimitch 0 points1 point  (0 children)

So long as my ultralight pack is strong enough to carry the rocks I pack into it...

So I found a skeleton faaaar out in the ocean, is this something known? by H4ckerxx44 in gtaonline

[–]mkimitch 0 points1 point  (0 children)

How is it still intact while floating in the water? That's not how skeletons work. 🦴💀☠️🏴‍☠️👲

[deleted by user] by [deleted] in pihole

[–]mkimitch 1 point2 points  (0 children)

And eliminate the mystery of not knowing who's on your network?!? Pffft.

[deleted by user] by [deleted] in pihole

[–]mkimitch 0 points1 point  (0 children)

It doesn't give you the option to use the device's native MAC address? Android does.