Pinned Tweet
Next.js is pretty dope when it comes to frontend work. Image optimisations and SSG/R just to start.
But, the backend portion of Next.js isn't great. You're given the request and that's it. So, I made a library to make the pain go away.
github.com/Gwash3189/nextjs-…
1
2
Have you ever wondered how a Staff Engineer approaches the dreaded algorithm interview?
Check the image to preview my post, where I break down my process step by step.
You can read the full post over here: 688technology.substack.com/p…
1
12
As someone who doesn't have a computer science degree and is ignorant of a lot of computer science _stuff_ beyond the basics. ChatGPT has been a game-changer.
It just taught me what a Trie is and how it can be used for route matching in web services.
1
64
I breezed over this last year, but I managed to make my first freelance sale.
ARR is at a blazing $300.
Having a job you hate is incredible motivation.
1
41
The past four months have seen me swapping back and forth between typescript-based cloud functions triggered by PubSub events and traditional Rails APIs.
Guess which one of those has been easier to pick up, maintain and introduced less complexity into our codebases?
1
1
60
Don’t get me wrong, Rails, REST and co. have a lot of foot guns built in. You can certainly still make something complex and unmaintainable with them.
But I guarantee that predictable, industry-wide know patterns that have a history of performing well will continue to do so
1
37
The amount of time I’ve lost to configuring, debugging and bashing my head against the combo of jest and typescript is too high.
Does anyone know any legitimately useful alternatives to jest?
2
49
I love how I’ve been doing react dev long enough that I’ve seen the pendulum swing the other way.
Previous conventional wisdom used to be “pull all your state up to a controlling component”
React tip: Keep state as "low" as possible.
Example: If state is just passed down to one child, it's too high.
Solution: Move the state down to the child.
Benefits:
✅ Avoids needlessly passing props
✅ Protects state from accidental changes
✅ Makes each component easier to understand
✅ Improves performance (avoids parent re-renders)
#react
54
Friendly reminder that picking a programming language really doesn’t matter for a lot of what’s being built in the web space.
Pick the tools you know best, can move confidently with and make your team content and productive.
A database call costs at least 1 millisecond, mostly in network and CPU execution.
Consider how much your language can do in 1 millisecond. For example, Ruby can sort an array of about 500,000 elements in that amount of time.
It's not always faster to go to the database.
68
Adam Beck retweeted
A database call costs at least 1 millisecond, mostly in network and CPU execution.
Consider how much your language can do in 1 millisecond. For example, Ruby can sort an array of about 500,000 elements in that amount of time.
It's not always faster to go to the database.
All this core-js stuff is a friendly reminder of why you should always put yourself first when it comes to your work.
Swing for the fences when negotiating salary, take time off and look after your health.
Some sound advice a friend gave me once was
So, what's next? github.com/zloirock/core-js/…
1
155
Is there any real reason to use yarn nowadays?
I feel like npm does everything I need it to and yarn is an unnecessary layer between me and package management.
2
67
My favourite part of a large federated GraphQL API & trying to hunt down where a query goes is when I cry in a corner.
1
47
Walking into someone’s JS codebase is like walking into their shed. It’s organised with familiar bits (shelves, maybe even a board with outlines of tools).
But the majority of it is custom and foreign, even though their likely solving the same problem others have.
This is your friendly reminder that siloing devs away from ops, or other organisational functions only slows things down.
It's nice to think that everything can work in product verticles until you get that one project that is cross-cutting.
The amount of times I've googled the difference between SQS and SNS is embarrassing. I finally wrote down what some surface-level differences are so I can stop forgetting.
bigcanary.technology/article…





![function App() { // This state should be moved down to ContactForm // Since only ContactForm is using it. const [subject, setSubject] = useState(""); return ( <> <h1>My app</h1> <ContactForm subject={subject} setSubject={setSubject} /> </> ) }](https://pbs.twimg.com/media/FpQNJn2WcAISQz0.jpg?name=small&format=webp)



