Ifeora Okechukwu Patrick
@isocroft
Followers
1K
Following
45K
Media
1K
Statuses
59K
Alleged Builder++, Capt. gadget, exjacm, music hobbyist | criticize by creating! | Always chilling in power... | Work: xxxxxxxxxxxxx Ex: @DeimosCloud @tryduplo
Nigerian
Joined August 2012
My own personal concept in this life is: I don't want to be famous but I want to be wealthy and impact so many lives as much as I can while building my family and friends to do the same.
1
2
23
...blocking the main thread. Generator function do not run async code so they on't need this API. Remember, the yield keyword is used to pause generator functions. Here's a snippet that combines generator function & a custom scheduler (powered by requestIdleCallback) π§΅(3/3)ππΎ
0
1
0
Have you ever tried to pause execution while running an async function in JavaScript ? An async function has to run to the very end once it starts executing. So, that's not possible. However, with generator functions in JavaScript it is very possible using yield. π§΅(1/3) ππΎππΎ
1
3
2
However, recently Blink-based browsers shipped a new feature to allow async functions to pause execution so the main thread can run using a cooperative scheduling point via the new #Proritized_Task_Scheduling_API With this API, async functions can run without... π§΅(2/3)
1
1
0
...blocking the main thread. Generator function do not run async code so they on't need this API. Remember, the yield keyword is used to pause generator functions. Here's a snippet that combines generator function & a custom scheduler (powered by requestIdleCallback) π§΅(3/3)ππΎ
0
1
0
However, recently Blink-based browsers shipped a new feature to allow async functions to pause execution so the main thread can run using a cooperative scheduling point via the new #Proritized_Task_Scheduling_API With this API, async functions can run without... π§΅(2/3)
1
1
0
Have you ever tried to pause execution while running an async function in JavaScript ? An async function has to run to the very end once it starts executing. So, that's not possible. However, with generator functions in JavaScript it is very possible using yield. π§΅(1/3) ππΎππΎ
1
3
2
Ch. 7: Log-Structured Storage is now up on YouTube! In this session, we discussed chapter 7 of @therealdatabass and explored how storage engines use data structures like LSM trees, Skip lists, Bloom filters etc, to handle data efficiently at scale. π₯Watch on YouTube β
0
1
3
Omo! The Creator of @jquery likes @tan_stack Start. Then, we made the right choice by liking everything Tanstack!! ππ₯³ Let's go
I've been using @tan_stack Start for a new project and it's super good. The server functions completely replace the need for TRPC/GraphQL/REST, the middleware is composable and fully typed, and having TSRouter's nice typing and stateful search params is icing on the cake. A+!
0
0
6
This is a nice way to abstract workflows for biz processes. However, is it practical and robust ? I don't think so. What happens if the DB transaction to create a user is rolled back ? Does the rest of the workflow execute or is it ignored ? I like magic code that doesn't lie!
"use workflow" And your async await calls become durable. Supported everywhere TypeScript runs https://t.co/G0kGMr3M0X
1
0
0
Memorizing trick programming questions and answering interviews flawlessly as you may know isnβt productive. Coming up with your own solution on the fly, no matter how inefficient or bad you think it is 100 times better. You will flawlessly one day build up to a better
9
16
345
I tried to replicate this design with HTML and CSS! Here's the CodePen link :- https://t.co/aAXFb37eeK What do you think? π
121
87
1K
When, I say #GraphQL is an anti-pattern because the cost outweighs the benefits, some software engineers are enraged and don't want to listen to what/why I have said so. This is it ππΌππΌ explained better than I could have. It's not me mouthing off for no reason. It's real talk!
@cpojer @AtherionGG it mostly doesn't solve the problem, and introduces many new ones. it can solve the issue in some narrow cases, but the benefits are often not worth the cost. graphql is, however, the best developer siren song of all time. it lures you by being perfectly abstract, pure, logical
0
0
0
The second part: "Most abstractions rot faster than they're shared" is correct β
and I agree because premature abstractions are usually disguised as healthy steps towards code reuse. The first part: "Code reuse is a myth" is wrong β because code reuse is vital to reliability
"Code reuse is a myth, and most abstractions rot faster than theyβre shared." from an upcoming book on Functional Programming in Elixir
0
0
1
React Server Components: do they improve performance or make it worse? If your answer is βIβve no idea π
,β I wrote a deep-dive to answer that! Experiments and real numbers, CSR vs SSR vs RSC, same app + test setup. Focus: initial load + data fetching. https://t.co/OyMoGpkl7Y
developerway.com
A data-driven comparison of CSR, SSR, and RSC under the same app and test setup, focusing on initial-load performance and the impact of client- vs server-side data fetching (including Streaming +...
12
56
443
Also, RSCs needs other things like Suspense and HTTP2/3 Streaming and CDNs. Also, you have to be careful with client boundaries. Overall, the article is an honest take on RSC performance compared to SSR and CSR. SSR doesn't always give you a performance boost. π§΅(2/2)
0
0
0
From this article, RSC only makes sense on a per-page basis not an app-wide basis. Page router SSR w/out HTTP2/3 + streaming performs better on average than RSC. Unfortunately, there no official way in Next.js to mix App router and Page router. π§΅(1/2) https://t.co/QmC7aAIZqn
developerway.com
A data-driven comparison of CSR, SSR, and RSC under the same app and test setup, focusing on initial-load performance and the impact of client- vs server-side data fetching (including Streaming +...
1
0
0
In honor of the lock-in season: If this post of mine gets more than 5900 likes in 3 days, I will recreate this with HTML and CSS and share the code here publicly for everyone to see @OlabodeUIUX just needs to furnish me with the font(s), icon(s) and color codes. RT for reach!
1
0
3