sarahcodes (@sarocodes) header
sarahcodes (@sarocodes) profile picture

Lead Web Engineer 🕸 Hobbyist Game Dev 👾 Irish 🇮🇪 living in NL 🇳🇱. (they/them, she/her) Opinions my own.

Utrecht, The Netherlands
Joined June 2019
Photo by sarahcodes (@sarocodes)Photo by sarahcodes (@sarocodes)Photo by sarahcodes (@sarocodes)Photo by sarahcodes (@sarocodes)Photo by sarahcodes (@sarocodes)Photo by sarahcodes (@sarocodes)Photo by sarahcodes (@sarocodes)Photo by sarahcodes (@sarocodes)Photo by sarahcodes (@sarocodes)Photo by sarahcodes (@sarocodes)
This 👇🏻
Refactoring is rarely “necessary” or “urgent”. Yet refactoring is important because code is read often, and patterns proliferate. If we only change code when we “must”, then anti-patterns and hacks proliferate. So I try to improve the code I’m working with a little each day.
352
Actual email I just sent my future work self because I randomly remembered but there is no way I could trust remembering again tomorrow…😅 #ADHD
282
sarahcodes retweeted
That said, module federation is a tradeoff. It provides a lot of team autonomy, but this autonomy complicates standardization, code sharing, performance optimization, and cross-team changes. So, I actually prefer a cross-team monolith and a monorepo if the teams can agree to it and collaborate as needed. Doing so fosters continuous integration between teams and makes cross-team changes easy to do in one PR.
2
2
23
11,023
sarahcodes retweeted
To clarify, Module Federation is just one way for multiple teams to collaborate. A few other options: 1. A cross-team monorepo 2. Separate teams contribute npm packages that the "shell" consumes 3. Completely separate apps in separate repos and on separate domains that share common code via npm packages, and link between one another. The advantage of MF is, the shell provides a cohesive cross-cutting experience, but each team can still deploy their "slice" of the app in isolation.
7
4
1
34
18,208
sarahcodes retweeted
Problem: Your web app is too big for one team to build. Solution: Use Module Federation (MF) to compose apps. Here's how it works: 1. One team builds the "shell" (the parent app). It handles global stuff (the header, footer, auth, nav etc). 2. All other teams build remotes (child apps). Each remote is published to a unique URL. 3. The shell loads each remote at their deployed URL. So each remote can be deployed in isolation.
20
52
5
550
137,350
The thing about building complex web apps is there is no one size fits all solution, it totally depends on the needs and the business context and what you care about, is it e-commerce, data insights, ordering system…the list goes on…! I’m really impressed with AI…
1
161
but I don’t think web developers are going anywhere anytime soon. Will we have to adapt to new tools to keep up? For sure? But will be eliminated…not just yet ⚡️
120
Fun fact, I’m not actually working with Vue at all, I’m working with Preact and it’s been awesome ✨
Next week I start a new job where I'll be working with Vue.js for the first time. I've really enjoyed primarily working with React for the last six years but I'm excited to learn something new and explore a new eco system 🤩 Tell me what you love about Vue 👀
1
265
If I can’t complete a side project in the hyper focus window in which it was started then it’s most likely not getting finished 😅
1
1
180
Yes 👏🏻
1. Brands matter when you have hypersensitive taste buds. 2. It’s better to eat “junk”, “unhealthy” or “not nutritious” food than no food at all. 3. Sensory sensitivities should be respected. 4. It’s ok to not eat foods that you find triggering for any reason, big or “small”.
204
It took me a long time to understand the value of React. Here are a few things that React nailed, and it is worth learning from. - Components are functions - Simplicity of JSX - Composability of hooks. - Explicitly not solving some things. 1/5
16
53
8
485
116,621
Next week I start a new job where I'll be working with Vue.js for the first time. I've really enjoyed primarily working with React for the last six years but I'm excited to learn something new and explore a new eco system 🤩 Tell me what you love about Vue 👀
1
1
1
555
The same thing is happening to me. First I lost access to my library and now I can’t log in at all: What’s going on #EA #sims4 ???? @TheSims
1
5
637
This week I…officially got an ADHD diagnosis…sliced open my hand and got stitches for the first time in my life…and ended the week with an amazing job offer 🎢🎢🎢 it’s been wild!
3
324
I was making a sandwich and now have three stitches in my hand so that’s how my Tuesday is going. 🙈
1
1
322
Rewatching Wynonna Earp and goddamn I love this show 🥲🥲
215
This is the most accurate 😂
Making decisions as an Autistic ADHD’er is like: My autism: I need time to think about this - let’s wait. My ADHD: *makes impulsive decision seconds later*. or My ADHD: sure, that sounds great, let’s do it! My Autism: *seconds later regrets saying yes and tries to back out*.
275
sarahcodes retweeted
Replying to @pauxdsantamaria
@pauxdsantamaria has such a cool idea with TypeScript Gameified 🔥 I just recently discovered it and have to say so far it's a fun time! Highly recommend if you're bored with todo apps and looking for a novel and fun way to learn TS 🎮 typescriptgamified.com/
1
2
2
227
As someone who saw how @reactjs transformed UI development from the outside and grew with it as an engineer, the @reactjs doc is really cool insight into how it all went down on the inside and got to where we are today 🙌🏻 youtu.be/8pDqJVdNa44
4
408
sarahcodes retweeted
The women you see today in tech - we have made sacrifices to follow our passion and be in this field. Kudos to all of us that have stuck it out and are becoming who we want to be - we have generations looking up to us, we are blazing a path. 🔥
13
33
4
436
19,401