Want a spot in @JMV1070’s Fantasy Football League? Retweet this tweet for your name to be placed in the drawing! 3 winners announced tonight at 9:00! League winner takes home a bar restock courtesy of @heavenhill.
3 dev team tasks, ordered by priority:
1. Critical bugs/blockers
2. Code review
3. Writing code
Common mistake: Prioritizing coding over code reviews. That’s selfish.
When a pull request is opened, it typically warrants briefly pausing other tasks to complete the code review.
Handy pattern I enjoy: Clone the repo twice.
This way, I can have two local copies, pointed to different branches.
I find this is useful when I need to reference or review code in a different branch. I don't have to commit/stash my work-in-progress to do so. 😎
My favorite way to estimate tickets? Don’t. 😜
Instead, ask this: Can we break this ticket down further?
This question leads to small tickets that are about equal in effort.
The result? We can use the number of tickets completed/week to estimate dates. No need to estimate! 🎉
An interesting JavaScript template string trick:
You can replace this:
{
"aria-required": isRequired ? "true" : "false";
}
with this:
{
"aria-required": `${isRequired}`
}
The template string evaluates the bool to "true" or "false".
#JavaScript
Visual Studio Code v1.60.0 now supports native bracket pair colorization!
"editor.bracketPairColorization.enabled: true" is all you need to enable this 🧑💻
🔥 JavaScript's new .at() method lets you pick items based on their index.
This is super handy for grabbing the last item of an array or string because, unlike arrays, it supports negative indexes!
Time to peep some release notes and get ready. React Router v6.0.0-beta.3 is coming in 🔥
We've got a few small breaking changes, which just means we're even closer to nailing the APIs for a stable v6 release. 🥳
https://t.co/X1d8H9CWVb
z-index Tip: When creating a reusable component that declares a z-index, add this style to the root element:
isolation: isolate
Why? This creates a “stacking context”, which means your z-index won’t “leak out” and override surrounding components.
TypeScript 4.4 is here!
Now with
✔ Smarter Control Flow Analysis
✔ Symbol & Pattern Indexers
✔ Stricter Checks
✔ Speed Improvements
✔ Inlay Hints
✔ Revamped --help
and more! Read up more on our blog! https://t.co/QF4O3naOO2
I'm excited about the new type narrowing features in #typescript 4.4.
Now we can check types on one line, and TypeScript will "remember" that we narrowed it later in the code. 👍
The result? Fewer checks required, and clearer code.
🕔 It's 5pm on Friday. In other words, it's a great time to release new software!
🔥 React Router v6.0.0-beta.2, hot off the press
🏃♂️ npm install react-router@next react-router-dom@next
https://t.co/fuXmAlVvzr
Fixating on burn down charts isn't healthy.
Why? Goodheart's Law. "When a measure becomes a target, it ceases to be a good measure."
Fixating on burning down to zero every sprint encourages:
❌ Short-term thinking
❌ Ignoring code reviews
❌ Sacrificing quality to save time