View profile

React Refs and Micro Frontends

Revue
 
Hey friends, it's Robin. I hope you are well. Are you keen to dive into some new React and JavaScript
 

Robin Wieruch - A Developer's Newsletter

October 20 · Issue #31 · View online
Hello, it's Robin. I am the author of books such as The Road to React, The Road to GraphQL, and many other online tutorials about JavaScript and its ecosystem. This is my newsletter which delivers comprehensive tutorials, books, and courses straight to your inbox. Quality content only. Give it a chance and become a better developer every month.

Hey friends, it’s Robin. I hope you are well. Are you keen to dive into some new React and JavaScript tutorials? This time I have some more of these in my Newsletter!

React Refs and Micro Frontends
React Refs are not the easiest topic in React. I took the time to write down everything I know about Refs and how to use them in React. Often Refs get directly associated with HTML elements, however, it all starts with instance variables :-)
Let me know: What use cases do you have for Refs in your React application?
For a recent client of mine another topic came up: Micro Frontends. I haven’t heard much about Micro Frontends before, but my client had a particular case where it made sense to implement it with React, so I gave Micro Frontends a chance with React and Wepback. What do you think about it?
JavaScript Vanilla Implementations
When was the last time you have used JavaScript’s replace() function to replace all occurrences of a string only to notice that replace() doesn’t replace all of them? :-) Fortunately replaceAll() will become available for all browser soon. Until then, regular expressions help you.
I find it always a great exercise to implement familiar functions from Lodash or other third-party utility libraries in JavaScript. In this short tutorial, I show how to implement groupBy() with vanilla JavaScript just using Reduce.
Once you mastered Reduce in JavaScript, it becomes more effortless to create specific logic within an iteration. In this tutorial, I show you how to implement countBy() in JavaScript. What was your last case where you had to use JavaScript’s reduce?
Full-Stack Engineer Wanted
The folks from Revue, the company I am using my Newsletter for, are looking for a Full-Stack Engineer. For anyone who is looking for a job, I think this is a really exciting product to work on and I think the team is small enough for you to have a great impact there. Read their job description for more details.
Personal Recommendations
Recently I watched the AlphaGo - The Movie on YouTube. I cannot tell you how many times I had goosebumps, but this is a great production to look behind the scenes of popular machine learning efforts.
That’s it from my side. If you like my content, it’s possible to sponsor it via GitHub now :-) It would mean a lot to me having you there as sponsor.
Best, Robin

Did you enjoy this issue?
If you don't want these updates anymore, please unsubscribe here.
If you were forwarded this newsletter and you like it, you can subscribe here.
Powered by Revue