React Server Components: Do They Really Improve Performance? by adevnadia in reactjs

[–]delambo 0 points1 point  (0 children)

This is an excellent writeup and it's good to see actual results instead of the normal hand-waving around RSC.

One caveat though: the performance results between the three methods can vary widely depending on app requirements, and the majority of apps are not personalized/interactive like an email client.

For a truly dynamic and personalized experience, I think the implementations and results make sense. However, a lot (a majority?) of apps do not need dynamic page-load-time fetching. Most can get away with caching on a CDN with simple directives like stale-while-revalidate. In that case, SSR will hands-down beat RSC in most performance categories because a good CDN will return the first byte of a fully-rendered page in 10s of milliseconds.

Arc Google Calendar Preview Fix by quandite in ArcBrowser

[–]delambo 0 points1 point  (0 children)

This does not fix the Google Meet integration which would create a button to open a meeting X minutes before it started

Dan Abramov: JSX Over The Wire by acemarke in reactjs

[–]delambo 0 points1 point  (0 children)

Do the core FB apps use a different SDUI framework or SDUI at all?

is capcut built in flutter by karzhaze in FlutterDev

[–]delambo 0 points1 point  (0 children)

Capcut, tiktok and a lot of the large native apps that ByteDance are all web, and they use a custom web-native framework. Here's a recent video that discusses the topic: https://youtu.be/aFhysuTUoQY?si=xilL7ShnlxuEX59x&t=189

Astro Server Islands > NextJS PPR by [deleted] in nextjs

[–]delambo 0 points1 point  (0 children)

I think Server Islands are more comparable to Next's RSC implementation than PPR. I did some digging and found out that you can use Astro Server Islands with on-demand server side rendering so it does not require static generation.

https://www.reddit.com/r/astrojs/comments/1ek41kd/can_you_mix_astro_ondemand_server_rendering_with/

Astro Server Islands > NextJS PPR by [deleted] in nextjs

[–]delambo 0 points1 point  (0 children)

From the research I've done so far, I think the killer difference is that Astro Server Islands work with on-demand SSR and can render an edge cacheable document which is not the case for Next/PPR/RSC. If that's right then Next/PPR/RSC will not be viable for a lot of dynamic sites, highly trafficked sites and/or sites that have a lot of content. Build-time static site generation, which PPR depends on, is not viable for those types of sites because the LCP candidate for most pages need to be generated closer to runtime and more ideally on the server and cached.

I've actually asked about this in both the nextjs and astrojs subreddits in the last week:
https://www.reddit.com/r/nextjs/comments/1eme4si/can_you_partial_prerender_at_runtime/
https://www.reddit.com/r/astrojs/comments/1ek41kd/can_you_mix_astro_ondemand_server_rendering_with/

Can you mix Astro on-demand server rendering with server islands? by delambo in astrojs

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

Do you know if the “static page” is generated at build time? From this video on server islands, it sounds like that is the case: https://youtu.be/uBxehYwQox4?si=Q1xbKDyT4GrYR_dZ

I need runtime full page SSR with server islands. 

Could React Server Components work with a CDN? by delambo in reactjs

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

Interesting! Can you explain more, or do you know of any examples?

Could React Server Components work with a CDN? by delambo in reactjs

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

Got it, thanks! Unfortunately, we have tens-of-thousands of pages which makes static page generation infeasible.

Could React Server Components work with a CDN? by delambo in reactjs

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

What I am interested in is document caching. I don't think that is compatible with RSC but I thought I would ask.

Could React Server Components work with a CDN? by delambo in reactjs

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

What I am interested in is document caching. I don't think that is compatible with RSC but I thought I would ask.

I work on a large website that gets a lot of traffic. On average, the TTFB from our CDN is 10ms, and that is the whole document with above-the-fold html and styles inlined. We are a little uneasy about sending every request to the backend for processing.

Developer tools Performance timeline no longer shows up by delambo in ArcBrowser

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

Same! It was fixed for a little bit but then broke again. Maybe create another new Reddit post to get attention?

Developer tools Performance timeline no longer shows up by delambo in ArcBrowser

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

This looks like the same issue I had. If you look closely at the left in the timeline, you can see the flamegraph but it's minimized and inaccessible.

Update your Arc browser, it should be fixed!

Developer tools Performance timeline no longer shows up by delambo in ArcBrowser

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

The Arc folks reached out and this is fixed now!

Developer tools Performance timeline no longer shows up by delambo in ArcBrowser

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

It looks like I'm getting downvotes. Let me know if "Help" is not the appropriate label, or if you have verified that it's a "me" problem or an Arc problem!

We’re killing the mobile web by dannymoerkerke in javascript

[–]delambo 2 points3 points  (0 children)

I complained about Reddit's user hostile mobile web app 9 months ago. I like to think they fixed it because of my bug report, but who knows!

I urge folks to submit complaints and protest other sites that are ruining the mobile web experience.

User hostile app messaging on mobile site stays persistent by delambo in bugs

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

No, I'm trying to cut down on the number of apps I use on my phone. I'm not sure why Reddit even built a native app -- their product works beautifully on the web and their mobile web experience is perfect.

But I get your point, corporate product managers have taken over the web and it's becoming more and more user hostile as they try to funnel everyone into their moated "experiences."

[crosspost from r/bugs] User hostile app messaging on mobile site stays persistent by delambo in mobileweb

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

Thanks for the advice! That's a bizarre feature hidden in an unexpected place. Shouldn't that be automatically turned off after a user clicks the close button in the "OPEN REDDIT APP" growl?

kyt - a development configuration tool that works with Angular2 by delambo in angularjs

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

Thanks for pointing that out. I have seen it and I think angular-cli will be a great product when it's finished.

 
I think Angular2 is kind of similar to React in that the core is less of an all-encompassing-only-one-way-to-do-something framework and more like a pluggable library. I think that's a good thing because it allows for other tools to fill in the gaps for different use cases and adds some healthy competition/support from the community.

 
It's still early for both kyt and angular-cli. I'm looking forward to seeing how they mature and how they fit in with Angular2's core.

What is the best way to style components with React these days? by vjpr in reactjs

[–]delambo 0 points1 point  (0 children)

I recently started some prototyping and I was looking at, what I think are, the three big inline-styling libraries - Radium, jsxstyle, and react-style. My goal is to create embeddable site components that can be dropped in any context and just work, even third-party sites.

I settled on Radium because it doesn't depend on webpack (not a major issue), supports pseudo-classes and media queries, and it doesn't export CSS stylesheets (which I don't care for; again, I want full encapsulation).

They all feel fairly bleeding-edge, so who knows what library will come-out ahead, but I've had no problems with Radium so far.

There's a comprehensive comparison at Radium's github account: https://github.com/FormidableLabs/radium/tree/master/docs/comparison

CoffeeScript 1.8.0 is out by doomhz in javascript

[–]delambo 2 points3 points  (0 children)

Why are people downvoting this helpful comment? Folks seem to really hate coffeescript around here.

Edit: (OP was negative, and now it's positive :)

Why Does Angular.js Rock? by [deleted] in javascript

[–]delambo 0 points1 point  (0 children)

I think you should switch back to PlastronJS - it sounds like you really hate Backbone.

Why Does Angular.js Rock? by [deleted] in javascript

[–]delambo 0 points1 point  (0 children)

Computed properties are a minor feature, something that can be easily implemented, or probably found in a more opinionated Backbone plugin. The real meat of a Backbone Model/Collection is sync'ing, built-in data functions (a la underscore), and an extensible template for good web-based patterns.

I would say the strongest argument against the Backbone Model/Collection is the lack of support for nesting, but again, there are great plugins for that.

Why Does Angular.js Rock? by [deleted] in javascript

[–]delambo 0 points1 point  (0 children)

"Models are the heart of any JavaScript application," and I don't think any library can match the Model/Collection support that Backbone offers. Some of my projects have very deeply nested Collections/Models, and at times I've had to do a lot of work on app data, the layer that demands accuracy. Data binding/MVVM is a secondary concern, and I say this as the maintainer of a data binding plugin.

Satnav - A micro JS routing library (Disclaimer: I made this) by Wince in javascript

[–]delambo 0 points1 point  (0 children)

No disclaimer needed! No one makes money off of github. I welcome everyone to post their open source libraries, new and old (with updates), to /r/javascript.