Morten Barklund
@barklund
Followers
559
Following
977
Media
82
Statuses
2K
Frontend development team lead, author, accessibility advocate, ultra runner, and lover of dogs (and most other cute animals).
Copenhagen, Denmark
Joined March 2009
If you're at React Summit (or JS Nation) in Amsterdam in a week, hit me up!
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.
0
0
2
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... https://t.co/aaS2HdUYVp
0
0
2
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] https://t.co/l2N8QPnUaA
0
0
0
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: https://t.co/uANYxCBfug
1
0
0
There are a number of ways to do this in TypeScript, all of which are a bit clumsy, but some of which are more correct and easy to type than others. This table sums up the various options. [2/4]
1
0
0
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
1
2
0
3,777 words (205,515 total) on React Quickly Second Edition, a complete guide to React development in 2022 #dailywords #AuthorsOfTwitter
https://t.co/VxaACwGt4c
You can get early access to this book right away by going to https://t.co/jHnP8inF87 and clicking on the buy now link! #react #reactjs #developers
0
0
0
5,843 words (201,738 total) on React Quickly Second Edition, a complete guide to React development in 2022 #dailywords #AuthorsOfTwitter
https://t.co/VxaACwGt4c
You can get early access to this book right away by going to https://t.co/jHnP8inF87 and clicking on the buy now link! #react #reactjs #developers
1
0
0
4,306 words (195,895 total) on React Quickly Second Edition, a complete guide to React development in 2022 #dailywords #AuthorsOfTwitter
https://t.co/VxaACwojQ4
You can get early access to this book right away by going to https://t.co/jHnP8inF87 and clicking on the buy now link! #react #reactjs #developers
1
1
0
1,585 words (191,589 total) on React Quickly Second Edition, a complete guide to React development in 2022 #dailywords #AuthorsOfTwitter
https://t.co/VxaACwGt4c
You can get early access to this book right away by going to https://t.co/jHnP8inF87 and clicking on the buy now link! #react #reactjs #developers
2
1
0
Manning is excellent at feedback I must say, and the book is getting so much extra value from it! I have detailed input from dozens of reviewers already, and the book is heading out to even more reviewers in a few weeks (once I've applied what I've already learned)!
0
0
0
And we're back to editing chapters based on feedback. All the way back to chapter 1 now, I almost forgot what I put there. It's great to come back with fresh eyes. https://t.co/6QA4GSW4hb
364 words (190,004 total) on React Quickly Second Edition, a complete guide to React development in 2022 #dailywords #AuthorsOfTwitter
https://t.co/VxaACwojQ4
1
0
0
364 words (190,004 total) on React Quickly Second Edition, a complete guide to React development in 2022 #dailywords #AuthorsOfTwitter
https://t.co/VxaACwojQ4
You can get early access to this book right away by going to https://t.co/jHnP8inF87 and clicking on the buy now link! #react #reactjs #developers
1
1
0
2,063 words (189,640 total) on React Quickly Second Edition, a complete guide to React development in 2022 #dailywords #AuthorsOfTwitter
https://t.co/VxaACwojQ4
You can get early access to this book right away by going to https://t.co/jHnP8inF87 and clicking on the buy now link! #react #reactjs #developers
1
1
0
1,764 words (187.577 total) on React Quickly Second Edition, a complete guide to React development in 2022 #dailywords #AuthorsOfTwitter
https://t.co/VxaACwGt4c
You can get early access to this book right away by going to https://t.co/jHnP8inF87 and clicking on the buy now link! #react #reactjs #developers
1
1
1
With this update, chapter 20 is complete, and chapter 21 is following close behind as well! With 22 chapters in total, we're almost there! https://t.co/3F3uisJ6Hf
3,809 words (185,813 total) on React Quickly Second Edition, a complete guide to React development in 2022 #dailywords #AuthorsOfTwitter
https://t.co/VxaACwGt4c
0
0
1
3,809 words (185,813 total) on React Quickly Second Edition, a complete guide to React development in 2022 #dailywords #AuthorsOfTwitter
https://t.co/VxaACwGt4c
You can get early access to this book right away by going to https://t.co/jHnP8inF87 and clicking on the buy now link! #react #reactjs #developers
1
1
1
2,198 words (182,004 total) on React Quickly Second Edition, a complete guide to React development in 2022 #dailywords #AuthorsOfTwitter
https://t.co/VxaACwGt4c
You can get early access to this book right away by going to https://t.co/jHnP8inF87 and clicking on the buy now link! #react #reactjs #developers
1
1
0
2,831 words (179,806 total) on React Quickly Second Edition, a complete guide to React development in 2022 #dailywords #AuthorsOfTwitter
https://t.co/VxaACwojQ4
You can get early access to this book right away by going to https://t.co/jHnP8inF87 and clicking on the buy now link! #react #reactjs #developers
1
1
1
And with that chapters 1 through 18 are ready in at least first draft status. Actually chapters 1 through 13 has been published on MEAP so they're a lot further in the pipeline. The end is nigh, as they say. https://t.co/Xd150gVzGt
4,317 words (176,969 total) on React Quickly Second Edition, a complete guide to React development in 2022 #dailywords #AuthorsOfTwitter
https://t.co/VxaACwojQ4
0
0
1