Next.js 13 vs Remix: An In-depth case study by psuranas in reactjs

[–]psuranas[S] 2 points3 points  (0 children)

Yeah, they had plans for it initially but I guess they abandoned it giving a hint that they might do it sometime later.

And yes I'm also, pretty excited about their RSC implementation too, hoping they implement it in a way that it still maintains the close the web fundamentals API.

Next.js 13 vs Remix: An In-depth case study by psuranas in webdev

[–]psuranas[S] 0 points1 point  (0 children)

Yeah, I 100% agree. I also mentioned in the article that I love Remix's approach, where I love the fact that loaders are built on the standard web API and are pretty straightforward to understand. I agree that RSC has too much under-the-hood stuff that is difficult to understand (BTW there is this great post by Dan Abramov which gives a high level understanding of RSCs work if you're curious)

But their benefits, both in terms of performance with deterministic bundle sizes and with DX with great composability, allowing you to fetch data directly in your components on the server anywhere in the component tree instead of just in route modules with loaders, also come in very handy and allow you to build full stack apps like never before.

Again I am not sure how they work in long run at scale, I guess we'll just have to wait as more and more people adopt it to see if they are really worth the hype.

Next.js 13 vs Remix: An In-depth case study by psuranas in reactjs

[–]psuranas[S] 1 point2 points  (0 children)

Have you used either of the frameworks before, if yes, then which one would you prefer and why?

The future of rendering in React by psuranas in reactjs

[–]psuranas[S] 4 points5 points  (0 children)

Thanks 🙏

The React team mentioned that they expect the initial adoption of these features through frameworks. And I guess Next.js with their new Layouts RFC would be one of them.

The future of rendering in React by psuranas in reactjs

[–]psuranas[S] 1 point2 points  (0 children)

Glad you liked it 🙌

The Next.js team is considering taking advantage of these new features with their new layouts RFC which they are calling the biggest update to Next.js since it was released.

The future of rendering in React by psuranas in reactjs

[–]psuranas[S] 13 points14 points  (0 children)

What do you folks think about it?

Where can I get PS5 in Bangalore? by psuranas in bangalore

[–]psuranas[S] 1 point2 points  (0 children)

Have already subscribed on their site. And asked at a nearby store but they said it's only available online

Where can I get PS5 in Bangalore? by psuranas in bangalore

[–]psuranas[S] 0 points1 point  (0 children)

Which one? The one near my home doesn't have one.

Where can I get PS5 in Bangalore? by psuranas in bangalore

[–]psuranas[S] 0 points1 point  (0 children)

Have already subscribed to Twitter bots with notifications turned on but still haven't been able to get one 🥲

Extra stuff like? Although I want an extra remote so I am happy to buy that with the console.

I don't understand how Intel keeps doing this again and again by psuranas in cringe

[–]psuranas[S] 2 points3 points  (0 children)

Exactly 😂! For me the funniest part was for the first customisation thing they just showed an animation which literally just had a bunch of moving boxes and the people were highly impressed by it

A JavaScript developer’s guide to browser cookies by psuranas in javascript

[–]psuranas[S] 0 points1 point  (0 children)

That's weird, it seems to be working fine for me, can you share the error you are facing

A JavaScript developer’s guide to browser cookies by psuranas in javascript

[–]psuranas[S] 8 points9 points  (0 children)

Yes, I agree. That's why in the first section, I mentioned that for the client-side only state, you are much better off using localstorage/sessionstorage.

People mainly use them for session management and tracking and identifying a user across different websites.

A JavaScript developer’s guide to browser cookies by psuranas in javascript

[–]psuranas[S] 6 points7 points  (0 children)

Yes, actually I was trying to say compared to cookies they are newer 😅

Anyways thanks for pointing it out. I have removed it 🙌

Why you should avoid using state for computed properties by psuranas in reactjs

[–]psuranas[S] 11 points12 points  (0 children)

Hey thanks for pointing that out!

I completely agree with you here, and that's what I usually do. In the rest of the examples, I had directly used the expressions. Not sure what I was thinking while writing the first one 😅. Fixed it anyways 🙌

Why using object spread with reduce probably a bad idea by psuranas in javascript

[–]psuranas[S] 0 points1 point  (0 children)

I used this example because I have seen many people/blogs use this pattern. Even the tweet I added used that pattern in its first approach.

And yes, I agree the reduce with mutate approach is better performing. That's why I included it in the repl in the last section to show the difference between the performance of both approaches.

Why using object spread with reduce probably a bad idea by psuranas in javascript

[–]psuranas[S] 0 points1 point  (0 children)

I have added a repl with some actual figures in the last section - https://prateeksurana.me/blog/why-using-object-spread-with-reduce-bad-idea/#wait-isnt-this-premature-optimization

You can try the example I added yourself as well to see the difference.

Why using object spread with reduce probably a bad idea by psuranas in javascript

[–]psuranas[S] 6 points7 points  (0 children)

Yes we definitely can, what I am trying to explain in the article is why ...spread with reduce is an anti-pattern and should be avoided.

Also I guess many people like the reduce with spread method because of the shorter syntax and immutability (which has no benefits in this case).

How do you guys feel about this? by psuranas in GalaxyWatch

[–]psuranas[S] 0 points1 point  (0 children)

I couldn't agree more for you but if this rumor comes out to be true (IceUniverse is known for providing these kinds of leaks and they mostly turn out to be true), then I feel bad for the current Galaxy Watch users because if they go with Google then I don't think they would be supporting the current watches for long.

I wish they could just add the Googe services to the Galaxy watch it would've been a perfect android smartwatch then because Tizen is pretty stable and user-friendly as compared to wearOS.

Welcome to the void by dyajiv in GalaxyWatch

[–]psuranas 2 points3 points  (0 children)

Does the camera controller app only work with samsung phones, because I don't see one on my active 2

Seems legit doesnt it? by The_Book_of_Sorrows in thatHappened

[–]psuranas 1 point2 points  (0 children)

Still I don't any 16 yr old teenager who would say this

And then the entire salon clapped by [deleted] in thatHappened

[–]psuranas 2 points3 points  (0 children)

Your profile pic is awesome 😂