Emil van Galen (@emilvangalen) 's Twitter Profile
Emil van Galen

@emilvangalen

Frontend tech lead @Divotion_nl and @JDriven_nl - with particular interests in ECMAScript, VanillaJS, Web Components, TypeScript and frontend architecture

ID: 2838319281

calendar_today20-10-2014 18:35:25

563 Tweet

102 Takipçi

244 Takip Edilen

Emil van Galen (@emilvangalen) 's Twitter Profile Photo

The `class` syntax of #JavaScript is getter more and more similar to #Java. Previously instance / static class fields were already added. And now the upcoming JavaScript will also support "static" initialization blocks. For more information read the blog post below of 2ality blog (INACTIVE)

Divotion (@divotion_nl) 's Twitter Profile Photo

Deze week is het de #Weekvandetoegankelijkheid. Daarom schreef Dennis Spierenburg een blog met 5 praktische #tips over hoe je de #accessibility van je website verbetert voor alledaags gebruik. #FrontEndDevelopment #website #Frontend divotion.com/blog/increase-…

Emil van Galen (@emilvangalen) 's Twitter Profile Photo

So happy to be living in European Union where General Data Protection Regulation (#GDPR) legislation prohibits leaking of personal data like social security numbers. Really the world turned up-side down... to prosecute someone who reported the personal data being leaked.

Emil van Galen (@emilvangalen) 's Twitter Profile Photo

Just finished my new blog post of Divotion about Yalc, an interesting alternative to using `npm link` (or `yarn link`). Yalc offers a nice middle ground between npm link and installing npm pack-ed .tgz files, and also works when `npm link` does not. divotion.com/blog/yalc-npm-…

Matt Pocock (@mattpocockuk) 's Twitter Profile Photo

🧵 The Ultimate TypeScript Thread 🧵 Here's everything I've learned from leading TS dev teams and working on XState's core team. My goal is to turn you into a TypeScript wizard. And yes, this thread is EVERGREEN - I'll add at least 3 more tips a week 🚀 Let's get started.

Emil van Galen (@emilvangalen) 's Twitter Profile Photo

⚠️ In #React v18 there is a breaking change in its #TypeScript typings. The `children` prop is no longer implicit for `React.FC`... and will have to be added explicitly. More info in the original tweet below 👇 , and see follow-up tweet for automatic code migration tool.

Emil van Galen (@emilvangalen) 's Twitter Profile Photo

As of #Redux v. 4.2.0 the `createStore` function is marked deprecated (through JSDoc). Instead one should instead use the `configureStore` function of the #ReduxToolKit (RTK).

Emil van Galen (@emilvangalen) 's Twitter Profile Photo

David Wells Justin Fagnani To understand `useEffect` in #React requires a total different mental model. Hooks are all about synchronization and not about lifecycle. IMO, to fully comprehend `useEffect`, the following article of dan_abramov is a definitive must read: overreacted.io/a-complete-gui…

Emil van Galen (@emilvangalen) 's Twitter Profile Photo

Adarsh Gupta ✨ Kent C. Dodds ⚡ Personally I have this utopian dream to 100% #UseThePlatform for building complex web apps. Even though we aren't quite there yet, one could still be near-vanilla by using only small supplementary libs like Lit (Lit) or a code generator like #StencilJS or #Svelte.

Emil van Galen (@emilvangalen) 's Twitter Profile Photo

IMO, one of the best features of #TypeScript is its automatic type narrowing (e.g. if-statement with typeof) often making explicit type assertions (casts) unnecessary. The article below 👇 describes how automatic type narrowing can also be done for Array methods filter and find.

Emil van Galen (@emilvangalen) 's Twitter Profile Photo

Instead of using the #Axios #JavaScript lib, one could also consider Redaxios, that (only) uses the built-in browser #FetchAPI under the hood. Redaxios is a drop-in replacement of #Axios, but is only 1/5 the size and is developed by Jason Miller 🦊⚛ who's the author of #PreactJS

Divotion (@divotion_nl) 's Twitter Profile Photo

Vanuit #Divotion verzorgt Emil van Galen op #FortX een echte #frontend talk: ‘#TypeScript Yin-Yang - why it's just #JavaScript, but with seat belts fastened’. Wat zijn de verschillen en overeenkomsten tussen TypeScript en JavaScript? Koop nu je kaartje voor Fort X.

Emil van Galen (@emilvangalen) 's Twitter Profile Photo

Ik zie er erg naar uit om te spreken spreken op de jubileumconferentie Fort-X. JDriven collega Sander Smeman en ik waren op 1 april 2011 de allereerste medewerkers en sindsdien is JDriven enorm gegroeid en zijn er spin-offs ontstaan waaronder Divotion.

Matt Pocock (@mattpocockuk) 's Twitter Profile Photo

You've been asking for it. A single spot with ALL of my 2-minute TypeScript tips, in chronological order - with transcripts. This might be the highest value-density of ANYTHING I've ever put out. Enjoy, wizards 🧙 totaltypescript.com/tips

Cory LaViska (@cory_laviska) 's Twitter Profile Photo

"What are some good resources to learn Web Components?" I get asked this a lot, and I'm tired of not having an answer. Here are some links. 👇 Please reply with your own and RT for reach! 🙏🏻