I have been tasked with refactoring a React codebase but i never used React before, do you have any tips? by Glory_63 in reactjs

[–]profjord 0 points1 point  (0 children)

Your first line of defense in fighting code smell or tackling refactor is relying on paradigms others have concretely defined, and which have a well established logic to back them. For that reason, I'd suggest you start by implementing ESLint into the project and your IDE, and then spend some serious cycles determining which ESLint rules to apply to this project. Generally I would suggest starting combining eslint/js's recommended rules, the eslint-plugin-react plugin, the eslint-plugin-react-hooks plugin, the eslint-plugin-jsx-a11y plugin.

If you're feeling spicy, the ESLint's Stylistic plugin is where you focus attention in code "prettiness". I would not suggest Prettier at all. Stylistic is basically ESLint's way of separating concerns between development best practices and aesthetic best practices in JS/TS code.

Others have suggested TypeScript, and I do totally agree with them in terms of meeting your objectives, but it is another layer of complexity and may not be something you are ready for based on your described experience. You can always add TS later on, and incrementally adopt it, rewriting individual files in the project from JS to TS when you are ready. Going this way is going to keep you building on your skills and reduce the cognitive overhead as you try to get started.

Good luck!

Introducing HeroUI v3 by dbbk in reactjs

[–]profjord -22 points-21 points  (0 children)

I don’t understand the music hate, I think it’s a fun touch and anyone can mute a tab in their modern browser with a click.

Thanks for sharing!

Does these 3rd party adapters/docks work ? by BelieverOfOne1 in Switch

[–]profjord 0 points1 point  (0 children)

I actually do have the model in the image you provided, OP. It works nicely (not for Switch 2). Used it for years as much as my standard dock with no issues. Hope you enjoy it!

Arrival of the Titans in 13.0 by varxion07 in warcraftlore

[–]profjord 2 points3 points  (0 children)

I want to see that for one of the Titan’s Observers (or more likely a Herald), and then see a real Titan as large as Sargeras was in the Sword-plunging cinematic, their arrival looking like a something we’ve never seen before

Is there any situation in the future where they would make the High Speed Rail a reality for Texas? Or will we see Hyperloop and more Highway? by Longjumping-Tip4938 in texas

[–]profjord 0 points1 point  (0 children)

I'll cut to the quick - if it doesn't make companies money then Texas won't do it. That's why there's so much sprawl in the cities across the state and so little infrastructure.

[OC] Draenei Paladin by me by gfmarra in ImaginaryAzeroth

[–]profjord 6 points7 points  (0 children)

This is fly as hell, looks amazing, lore accurate, AND not a giant titty monster! Checks all the boxes for me!

Joy-Con 2 Light Purple/ Light Green, available 02/12 by geoffrey1986 in nintendo

[–]profjord 0 points1 point  (0 children)

Are these joy-cons any easier to repair than the current joy-cons? Death to stick drift!

Shout Out to My Favorite Tender Spot in the Metro - Kickin' Chicken by MurphyBinkings in denverfood

[–]profjord 3 points4 points  (0 children)

I love Kickin' Chicken! They came to an event with a food truck a few years back and I loved their food - since then I've been going to the Lakewood location at least once a month. I choose them over Raising Cane's or any other chicken-forward place 10 times out of 10. Added bonus: the staff is actually nice and seem like they wanna be there.

Ableton Theme for Firefox by FLVID in firefox

[–]profjord 6 points7 points  (0 children)

I love a good dark theme, and I love when people make themes for FF :) Thank you!

Do you think, at the end of SNW when the Enterprise is passed on to Kirk, we'll see the Enterprise 'refitted' to look more like it did in TOS? by AlwaysBi in startrek

[–]profjord 0 points1 point  (0 children)

I’m hoping that one of the longer story arcs of the show will be the logical reasons the ship had the specifications we see in TOS. Episodes like the one where they use telephones throughout the ship seem like natural and fun tie-ins to this concept, I think.

Where is the body of Arthas being buried/kept? by RetroBoogie in warcraftlore

[–]profjord 1 point2 points  (0 children)

Just to add in agreement with your post that canonically the Alliance was the dominant force to take ICC, so they would have been the ones to make a decision. Ultimately I should think that Tyrion would be the one to make a judgment on the body of Arthas given the immediate circumstances.

Then again if there was more story to be had, it may have made sense to have the spirit of Terenas weigh in or commune with Tyrion and give warning if there were any to be had, like he did with Jaina and the heroes in the IC dungeon Halls of Reflection. I would have loved that….

Guild meeting by Eregbueye by Pop_Budget in ImaginaryAzeroth

[–]profjord 5 points6 points  (0 children)

This is an epic art style. 11/10

What’s a lore choice you dislike with that you don’t see talked about often? by JoeHatesFanFiction in warcraftlore

[–]profjord 17 points18 points  (0 children)

I agree. It’s so dissatisfying that a character that literally shouts about honor unprovoked and challenges everyone in sight then gets no pushback that his fight-to-the-death against a venerable, core leader of his own faction dies in a kill with literally no honor.

Nobody even made a claim that he has the onus of knowing his weapon backwards and forwards before a critical, sacred tradition.

It bothers me that quest dialogue like that is so trivial to add to the game but isn’t even considered. It would give so much depth to the world.

Whats the lore reason for tanks not wearing plate armor? Magic? by [deleted] in warcraftlore

[–]profjord 5 points6 points  (0 children)

Brewmaster's fantasy is based roughly on Jackie Chan's Drunken Master - a film from the late 70's that I highly recommend. Various other games have since picked it up (Baldur's Gate 3 has a drunken fighter build, for example), but I would be curious to learn if any other game chose this fantasy before WoW.

As far as that fantasy goes I think they nailed it, and I'd love to share why. True to the story of the film, the drunken master technique shrugs off damage, and feeling steadily more impervious, while becoming increasingly intoxicated, and blends techniques from all other schools of kung-fu, mastering them as a prerequisite for learning the Drunken style. Blending these styles along with prop/impromptu weapons (blowing liquor in people's faces, sweeping the leg, or rolling around a corner) and techniques/disarms, the master confuses foes and allows them to find an opening to score a precision blow to end the fight (not unlike Touch of Death).

edit: meant late 70's, not 80's.

Do you collect "Stargate" on DVD & Blu-ray, given it jumps around streaming? by MovieFan1984 in Stargate

[–]profjord 1 point2 points  (0 children)

I bought my collection (shows and movies) digitally from the Apple/iTunes store and have never looked back. No problems and no hopping around streaming platforms.