arashk babakan
137 posts


@code I like the previous edit and chat a lot more. Any time you want to switch between them it ask you to discard the previous one.
English

Big updates in the latest @code release:
✨ Extend agent mode (now available in VS Code Stable!) with MCP tools
✨ A unified chat experience
✨ Use your own API key to access more language models
...and so much more
aka.ms/VSCodeRelease
Let’s dive in 🧵

English

@alexalbert__ The form doesn't accept Gmail as an email address, but my anthropic account is signed up under a Gmail account.
Should I sign up another account with another email?
English
arashk babakan retweetledi

arashk babakan retweetledi

I wrote this open letter because I believe the "JavaScript" trademark has been abandoned by @Oracle as defined in US trademark law. "JavaScript" is a generic term for the world's most popular programming language - not an Oracle product. If you agree, please sign the letter to give weight to this cause.
Deno@deno_land
Help us spread the word — it's time to #FreeJavaScript. javascript.tm
English
arashk babakan retweetledi

@Rich_Harris In other words a change in one of the object properties causes other properties to get reactive no matter the object itself is on the left hand side or being and assigned to another variable and then being updated
English

@Rich_Harris If you comment out line 42, then the UI is not gonna get updated as Svelte is not aware of the change. But having line 42 causes reactivity and therefore the change on line 44 is gonna get reflected on UI.
English

@avindrafernando @housecor It’s like you need a server for SPA to be served. The SSG content also needs a server to serve those content.
English

@housecor It’s disrupting how we traditionally architected React apps for sure. As it goes through a couple of iterations I believe it will be a great addition to apps.
Also, one of the largest confusions related to RSCs is within the name itself. The name implies you need a “server”.
English

I like RSC. But it’s not perfect.
Problems I’ve noticed:
1. Next.js is the only mature implementation I’ve seen so far.
2. Need a complex server config to host it. It’s not very practical to create a useful RSC “hello world” from scratch.
3. It’s not traditional server side rendering because the server doesn’t render components as HTML. So it doesn’t improve SEO (although RSC architecture is potentially faster at rendering, so that may help SEO).
4. It’s hard to debug. I can’t easily see what’s happening on the server or step through it.
5. The mental model is more complex. I have to understand new concepts like “use client”, “use server”, and server actions. For each component, I need to ask “how can I decompose this so that most of the code is in a RSC?”
6. If a third party component isn’t updated to support RSC, I may have to wrap it in my own component that calls “use client”.
I’m happy to be corrected on any of these, but this is what I’ve seen so far.
English

@avindrafernando @housecor You aleays need a server. The difference is that you need your whatever server that can serve static content not a type of node server that runs to generate your contet dynamically. RSC is nothing more that SSG.
English

@dan_abramov2 Great article Dan. Thanks for taking the time to write it and explain it again here. After reading it, it seems that RSCs are nothing more than SSG and people have confused them with SSR.
English

@SureAsMel @Airbnb Unfortunately the same thing has happened to me last week and I think it’s time to delete @Airbnb account forever.
English
arashk babakan retweetledi

@daboigbae Oh man, can’t see myself using it for a while.
ChatGPT is like if everyone on stack overflow was nice 🙃
English

"Unfortunately, we've decided to move forward with other applicants that are more closely aligned with our needs at this time."
Hilarious. They specifically want @fastifyjs expertise in the job posting. I noted that I am a core maintainer of it in the application.

English

@dan_abramov No wonder how they make money. I do prefer other airlines like Qatar or Emirate airlines when travelling that part of the world.
English
arashk babakan retweetledi

Just switched a large project from create-react-app to Vite.
With create-react-app:
start: 25 sec
Hot reload: 2.8 sec
With Vite:
start: 2 sec 🔥
Hot reload: Instant
A solid DX improvement, and simple to convert.
If you're using CRA, consider converting!
#react
English












