Breakpoint - Issue 10
Hey folks,
Hope y’all are doing good and can’t believe it’s June already and the next thing you know Christmas is around the corner. This week I got Next.js working with https on local with custom domain and it might sound like a big deal but pretty proud of it and the process is straight forward. Let’s what else is going on this week.
🖥️ Frontend Shares
Component Patterns in Next.js 13
I am still grasping what the best pattern is with this new React Server Components or App Router in Next.js is but this briefly goes through some and I think having the client components in the outer leaves as much as possible seems great like a great idea so Next.js can render and do its optimization for server components as soon as possible then pass down the bundle to client.
You Might Not Need React Query
With the introduction of RSC, some wonder if we need React Query, or Apollo Client actually. In tech world we always try to come up new solution for the problems we face but that doesn’t mean the other tool we use just automatically gets replaced. There are always trade-offs and evaluating whether a tech or pattern suits your need is important.
You. Yes you. You are more capable than you think. If you are one of those people that would like to take on more responsibilities or get more interesting works, get out of this “you are only a junior” mindset. Some people may suggest if you would like to get a promotion then start acting like you already have promotion. I don’t mean to act like you are already a boss that commands other people what to do but the mindset. A senior engineer may take on more work or lead architectural decisions then at certain capacity maybe you can do the same as well. People will start realizing you are doing it and give them no reason not to promote you.
RSC From Scratch. Part 1: Server Components
Dan Abramov wrote a deep-dive into how React Server Components work conceptually by implementing it from scratch. For people that would like to learn how they all work this is a really cool read. There are 2 more parts that will come later and expected to also cover Server Actions.
WebKit Features in Safari 17 beta
- Add any web apps to your dock.
- Safari will on the new Apple Vision Pro. The experience is called Spatial Web.
- Better WebXR support for many existing WebGL libraries.
- First browser to support JPEG XL for progressively loading over slow connection.
- Support for more and newer Web API and CSS