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.
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.
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.
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
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
sarahcodes retweeted
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
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 👀
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
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/
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










