@SergiiShymko This happened the same way that 1/4lb burgers are only 1/4lb before cooking. 2x4 used to mean the size after finish planing. Along the way it started meaning that was the size of the rough cut board blank before final milling. Over time the defacto became what we have now.
@McLarenF1: makes a bad strategy call, Lando loses.
Also @McLarenF1: makes a bad strategy call in Lando’s favor, then calls team orders so that he loses….
Work.. it.. out..
@deitel In high-school I taught myself to program with the fourth edition of this book (stole it from my brother who was in university) and with @mark_overmars GameMaker. Changed my life. Appreciate so much that these resources existed for me.
@DenishaRot78408 Tried installing it yesterday and the extension did nothing… like the commands weren’t even in the menu. Others have reported the same. I’ll try again today though, it looks cool if I can get it to work.
Anyone know a #VSCODE refactoring tool for extracting a chunk of #REACT#JSX into it's own FC?
<div>
{leave me alone}
<div id="extractme">
{I'm with them ^}
</div>
</div>
Internet is suggesting glean but that project's been broke and dead for a while now.
Today I realized I could deref the first element of a nested array as `const { rows: [record] } = object`. And I kind of love and hate it at the same time. Help me decide... A, B or C??
Been a pretty hard core follower of MySQL my whole career. Lately done a bit of mongo.
Recently, just to learn, cracked open Postgres on a personal project and woah… shoulda looked into it sooner
@fuksito Yeah I’m just starting out. Learning that you can query and aggregate on unstructured json (nosql) and also how to do graph queries with CTEs. Obviously it’s not specialized at those things but very cool to have the option all in the same toolkit.
Is #TypeScript broken on #React ForwardRef?
I'm using this:
export const JobCard = forwardRef((ref: ForwardedRef<HTMLElement>) => {
return <div ref={ref} />
}
And I'm getting errors around mismatch between HTMLDivElement and HTMLElement. 🧵1/2
IMO forwardRef should be able to use the lower-specificity type. It's saying, hey, I just need the element to match at least this API. So why is the DIV complaining that .align isn't supported, I'm specifically saying I don't care about align.
This makes ref types viral...