Cybertruck’s transparent-metal is like a javascriptless browser 🤣 #javascript #cybertruck #whatthefuckistransparentmetal
1
Аневризма retweeted
JSONP demystified: What it is and why it exists #WebDev blog.logrocket.com/jsonp-dem…
1
Аневризма retweeted
Had to build a new blog and some tools to be able to publish this post with the format I wanted. It took some time but it's finally ready! 📢 the updated DIY guide to build React from scratch ✨ pomb.us/build-your-own-react
59
403
1,831
Аневризма retweeted
A `console` Cheat Sheet: levelup.gitconnected.com/con… (An illustrated tour of the most popular `console` methods for debugging code from the dev tools.)
102
324
Аневризма retweeted
TDD with React Test Renderer - LogRocket Blog blog.logrocket.com/tdd-with-… #ReactJS #Testing
1
1
#tinyCSStrick: to set `width` to the *absolute value of the difference between two custom properties*, use both width and min-width: min-width: calc((var(--b) - var(--a))); width: calc((var(--a) - var(--b))); Example: codepen.io/thebabydino/pen/o…
2
4
24
Аневризма retweeted
A deep dive into React Fiber internals - LogRocket Blog blog.logrocket.com/deep-dive… #ReactJS
1
1
keyof T “index type query operator” T[K] “indexed accessor operator” #typescript
Честно, теперь не могу без #typescript либо #flow Типизация просто охуенно #javascript #react #webpack #redux
Аневризма retweeted
Optional Chaining & Nullish Coalescing are coming to JavaScript! They're short, readable and are both available to try in Chrome Canary 🎉 v8.dev/features/optional-cha… v8.dev/features/nullish-coal…
42
1,006
3,102
freezing objects is really important, because it allow us to have a high-integrity object that cannot be confused or corrupted and the only way to access the date is trought the methods #javascript
I think you should have to understand a function that returns another function in order to get a #javascript license
type fn1 = <T, U>(x: T, y: U) => number; type fn2<T, U> = (x: T, y: U) => number; what fn1 has that fn2 doesn't? my brain is melting! #javascript #typescript #react #deno #node
The difference between you and me is that I know how to test #react hooks #javascript #jest #reacthooks #reacttestinglibrary
there are two kinds of persons: // a (function () {}()); // b (function () {})(); #javascript #react #iife #nodejs
let lib; try { lib = await import('cdn-a.example.com/lib'); } catch { lib = await import('cdn-b.example.com/lib'); } Top-level async/await has arrived!!! #javascript #deno #node