Morten Barklund

1.8K posts

Morten Barklund

Morten Barklund

@barklund

Frontend development team lead, author, accessibility advocate, ultra runner, and lover of dogs (and most other cute animals).

Copenhagen, Denmark Beigetreten Mart 2009
574 Folgt555 Follower
Morten Barklund
Morten Barklund@barklund·
If you're at React Summit (or JS Nation) in Amsterdam in a week, hit me up!
React Summit@ReactSummit

At the session 💻@barklund, Frontend dev team lead, will go over several common best-practice-proven #TypeScript patterns to use in #React 18. This includes how to correctly type component properties, children & return types, using React built-in types, typing contexts etc.

English
0
0
2
331
Peter Brodersen
Peter Brodersen@peterbrodersen·
Det FN du kender. Jeg kunne virkelig godt håbe på, at journalister graver lidt mere i det her. Specielt idet vi har en vicestatsminister, der som minister har hyldet og whitewashet Kina og set bort fra deres folkedrab og interneringer. Er @Denmark_UN @DKUNmisgva ligeglade?
Emma Reilly@EmmaReillyTweet

BREAKING: @UN bans #whistleblower I was due to speak at the Human Rights Council tomorrow. @volker_turk does not want that to happen. He wants to continue the cover up of the @UNHumanRights policy of handing names to #Beijing. /1

Dansk
1
0
2
841
Morten Barklund
Morten Barklund@barklund·
@svgrepo Hey, please fix your website, thanks! Getting a ton of gateway errors, 404's and whatnot.
Copenhagen, Denmark 🇩🇰 English
1
0
1
16
Morten Barklund
Morten Barklund@barklund·
@schlessera "NDA content"...? And the ever present "test" 😂
Copenhagen, Denmark 🇩🇰 English
0
0
1
21
Alain Schlesser
Alain Schlesser@schlessera·
Starting off the first #gdesummit day with MC @ajmirwani and welcoming all the fellow GDEs that couldn't attend in Berlin but are chiming in remotely.
Alain Schlesser tweet media
English
1
0
3
428
Morten Barklund
Morten Barklund@barklund·
@_munter_ And that job posting does speak really well to my strengths _and_ preferences!
Copenhagen, Denmark 🇩🇰 English
1
0
0
39
Morten Barklund
Morten Barklund@barklund·
Am I the only one that can hear a slack notification in the background of this song around 1:20? It's in one of my work playlists, and every time it gets to this part, I frantically search for the notification bubble... youtu.be/iP6XpLQM2Cs?t=…
YouTube video
YouTube
English
0
0
2
319
Morten Barklund
Morten Barklund@barklund·
@Marchen_Neel Hvorfor er der så mange forslag med "pølse*"? Bevares, "pølse" starter med "p" ligesom "politisk", men der er sgu da mange ord der starter med "p"! Den her en pølse-fetish, den robot!
Copenhagen, Denmark 🇩🇰 Dansk
0
0
2
251
Marchen N Gjertsen
Marchen N Gjertsen@Marchen_Neel·
Til inspiration - her er hvad chatrobotten foreslår. Især “Politisk Pølsemix” klinger ret godt, synes jeg. Alle elsker pølsemix jo😍
Marchen N Gjertsen tweet mediaMarchen N Gjertsen tweet mediaMarchen N Gjertsen tweet media
Dansk
19
0
50
10.7K
Marchen N Gjertsen
Marchen N Gjertsen@Marchen_Neel·
Hjææælp: Hvad skal vores podcast hedde? @nielsthdahl og jeg fortsætter vores politiske podcast. “Til sagen: hvem vinder valget?” er dog ik den bedste titel mere😅 Der er en flaske champagne til den, der kommer på det nye navn. Vi beslutter det kl 12. Kom med dit forslag her tak🥳
Dansk
183
1
48
102.8K
Morten Barklund
Morten Barklund@barklund·
@tveskov Erstat selv næse med enhver anden kropsdel. Albue? Øreflip? Non sequitur når det er bedst.
Copenhagen, Denmark 🇩🇰 Dansk
0
0
1
109
tveskov
tveskov@tveskov·
You can’t handle the truth
tveskov tweet media
English
4
0
3
2.3K
Morten Barklund
Morten Barklund@barklund·
@KatrineVillar @KobenhavnPoliti @koebenhavner Kommunerne har vist kun ansvar for parkering på "lovlige" parkeringspladser. Decideret ulovlig parkering (under alle omstændigheder) hører vist under politiet - især hvis det er til fare for trafikken.
Copenhagen, Denmark 🇩🇰 Dansk
0
0
1
80
Morten Barklund
Morten Barklund@barklund·
@KatrineVillar @KobenhavnPoliti Kan man ikke tage et billede af en ulovligt parkeret bil og sende det til politiet? Jeg ved godt det ikke virker præventivt i første omgang, men på sigt burde det vel have en effekt? Jeg ved dog ikke om politiet har en sådan ordning i DK overhovedet.
Copenhagen, Denmark 🇩🇰 Dansk
2
0
0
155
Morten Barklund
Morten Barklund@barklund·
Do you agree? Or do you use a different approach for this? See this article with my reasoning and all the details and please feel free to poke holes in it! [4/4] mortenbarklund.com/blog/react-typ…
Copenhagen, Denmark 🇩🇰 English
0
0
0
154
Morten Barklund
Morten Barklund@barklund·
Using what I find to be the recommended approach from the above table, `ComponentPropsWithoutRef`, the code from the initial example then becomes this. You can play with the example in CodeSandbox here: codesandbox.io/s/react-typesc…
Morten Barklund tweet media
Copenhagen, Denmark 🇩🇰 English
1
0
0
188
Morten Barklund
Morten Barklund@barklund·
Recently I ran into the problem of spreading React props to an intrinsic element (e.g. to an `<input />`) in TypeScript. How would I type the props correctly? I.e., if you have the code below, how do you best do this in TypeScript? 🧵 [1/4] #react #typescript #100DaysOfCode
Morten Barklund tweet media
English
1
2
0
374
Morten Barklund
Morten Barklund@barklund·
@SimonHoiberg Oh, interesting. That's surprising, but good to know. Do you work hard on SEO inside Youtube then? Do you A/B test thumbnails and/or titles?
Copenhagen, Denmark 🇩🇰 English
0
0
0
0
Simon Høiberg
Simon Høiberg@SimonHoiberg·
@barklund Thanks, Morten 🙌 I actually don't do much to promote it outside YouTube. And I don't recommend. Let YouTube do it's thing.
English
1
0
0
0
Simon Høiberg
Simon Høiberg@SimonHoiberg·
My YouTube channel is now making $2,000/month, just in ad revenue. → I don't have 50K subscribers yet. → I publish a new (long-form) video every 2-3 weeks. It's truly an amazing business opportunity! Start a YouTube channel 👊
Simon Høiberg tweet media
English
63
42
991
0