codeheaps (@codeheaps) header
codeheaps (@codeheaps) profile picture

Codeheaps provides you with easy tutorials and articles on computer programming languages, latest web development trends, frameworks and scripting languages.

Joined December 2013
Photo by codeheaps (@codeheaps)Photo by codeheaps (@codeheaps)Photo by codeheaps (@codeheaps)Photo by codeheaps (@codeheaps)Photo by codeheaps (@codeheaps)Photo by codeheaps (@codeheaps)Photo by codeheaps (@codeheaps)Photo by codeheaps (@codeheaps)Photo by codeheaps (@codeheaps)
codeheaps retweeted
I wonder how many people realize that React Hooks is really just disconnected, less declarative reactive programming.
39
22
6
303
Ok, I'm seriously so excited by #TypeScript 4.1! (released today!) I mean come on: you can now e.g. type all 80 color variations from @TailwindCSS in like.. no time:
25
459
75
2,619
codeheaps retweeted
In #JavaScript, `void 0` isn't an magic incantation for `undefined` It's an operator that evaluates what comes after it, then always returns `undefined` `void 0` may as well be `void 1` It can also be used for IIFEs by making functions into expressions rather than declarations
3
8
1
61
Avoid round checkboxes. They make a radio list confusing by allowing multiple selection! Round the corners of your checkboxes all day, but be weary of the misleading effect a round checkbox can have
6
33
8
312
Node.js 15 makes 7 of my packages obsolete. This is a good thing. 👌
6
227
40
1,715
Lazy loading #Angular components with async/await is - 🥴not lazy - 🧟‍♀️not cancelable - ☠️hard to handle errors - 🤕clumsy to use Checkout out rxLet directive and see how to do it better withing just 🤯2 LINES of CODE 🤯 Also, 🌟 on GitHub if u like it! github.com/rx-angular/rx-ang…
3
41
145
🎉 Ionic Vue is (finally) here! 🎉 Truly native, truly web, truly cross platform 💚 Built with @vuejs 3.0 ⚙️ Standard Vue tooling w/ vue-router 🧩 100+ mobile UI components 📱 iOS, Android, and PWAs Give it a spin 👇 https://nitter.gq/t.co/s3w3GQydGX
28
376
86
1,200
codeheaps retweeted
⚠️ Here are our examples from our talk at @rxjslive: 👉 Progressive Data Enhancement https://nitter.gq/t.co/CJXEEJrdCh 👉 Error Handling https://nitter.gq/t.co/ThMdFtn3WC 👉 Flickering Spinner https://nitter.gq/t.co/Pld3qLVAmF 👉 `subscribedTo` Operator https://nitter.gq/t.co/va7yjKxIGQ For questions, let us know!
1
14
1
30
codeheaps retweeted
#RxJS in modern ES2020/TypeScript tip: DON'T use pluck, use map! The pluck operator is going away eventually. Optional chaining makes pluck irrelevant!
11
71
1
319
codeheaps retweeted
🎉Announcing rxjs-for-await! A library providing different strategies for subscribing to #RxJS observables using async/await and `for await` loops Now available on npm! npmjs.com/package/rxjs-for-a…
14
166
8
525
"The Shell Library patterns with Nx and Monorepo Architectures" by @nacho_vazquez14 #angular #nx #webdev #javascript indepth.dev/the-shell-librar…
2
33
2
63
codeheaps retweeted
🤯 I will never not be fascinated by Church Encoding Here are some Church Encoded Numerals 👇 🎮 Playground: runkit.com/joelnet/5e5eee3d8… Theme is moonlight #javascript #100DaysOfCode
5
33
1
64
Asynchronous JavaScript in four parts by @rauschma: Foundations - https://nitter.gq/t.co/QnDl1V60Y4 Promises - https://nitter.gq/t.co/5PQmJIQQOe Async functions - https://nitter.gq/t.co/QsmblncrND Async iteration - https://nitter.gq/t.co/R39aYJb16m
5
432
5
1,706
codeheaps retweeted
I just finished a major rewrite of my desktop to-do app, todometer! Rewritten with React hooks, an updated Electron packager, and a few new features. I'm really happy with it, check it out! cassidoo.github.io/todometer…
13
36
4
596
Chaining in OOP is syntactically convenient. Looking forward to the pipeline operator |> giving us chaining for functions: const re_op = ['*', '+'] .map(ch => escapeForRegExp(ch)) .join('') |> str => '[' + str + ']' |> RegExp; 2ality.com/2019/01/future-js…
10
27
1
141
codeheaps retweeted
📝“Use web workers to run JavaScript off the browser's main thread” — a write-up of my talk “The main thread is overworked & underpaind” from this year’s Chrome Dev Summit. Video in the article! web.dev/off-main-thread/
1
65
3
285
Inversion of Control: A simple principle that can drastically improve your reusable code kentcdodds.com/blog/inversio…
8
114
11
374
codeheaps retweeted
DSS Tecla is officially ON SALE!!! I'm so excited!!! 🎉🎉🎉 It's mix n match, PLUS comes with compatibility kits for different boards, AND has gaming and vim keys!!! pimpmykeyboard.com/new-dss-t…
5
2
2
42