question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dropping SSR support

See original GitHub issue

I’m considering dropping SSR support. It’s built on top of many hacks, all of which are entirely circumventing the recommendations of react-native-web.

I’ve elaborated on this problem at length on many issues and PRs in the past.

If you need Dripsy in production with SSR support, feel free to mention it here.

At the moment, supporting SSR means the web API is complex, kind of confusing, and adds more DOM nodes.

I’ve been using Dripsy with SSR “disabled” (i.e. we return null at the root of the app and then setMounted(true)) on the beatgig.com. No issues for us with performance.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:37 (37 by maintainers)

github_iconTop GitHub Comments

1reaction
nandorojocommented, Jun 5, 2021

I meant that every time we used responsive styles, we used fresnel, which added an extra DOM node per-breakpoint.

1reaction
nandorojocommented, May 28, 2021

I’m only using static generation, not SSR, which can’t conditionally render pages anyway.

Maybe your solution would work. You’d have to set the window dimensions yourself somehow, and Dripsy would read from that if it’s a crawler.

Just FYI, this isn’t something I find a priority at the moment. I spent too much time optimizing for this and ultimately saw no benefit to our site for it. But if you can come up with a solution that’s easy to drop in, I’m open to it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What are the chances of getting a SSR drop from the World ...
All bosses drop all SSR weapons, you should choose based on which SSR matrix it drops.
Read more >
SSR Drop Rate Increase for World Bosses but NOT WORTH ...
Like & Subscribe to help grow the channel! (′ꈍωꈍ‵) Drop a comment down below! ━━━━━━━━ ▽ EXPAND ▽ ━━━━━━━━ Not ...
Read more >
Tower of Fantasy - HOW TO GET 100% SSR DROP RATE ...
An Update Guide & Tips On Getting Bonus DROP Rates From Joint Ops! ... *I also have a Patreon Account if you want...
Read more >
GET BONUS SSR WEAPONS & CHIPS DROP RATE THIS WAY!
A Short Guide & Tips On Getting Bonus DROP Rates From The World Bosses! ... *I also have a Patreon Account if you...
Read more >
Tower of Fantasy - FARM SSR WEAPONS & EPIC ... - YouTube
Want to show extra support for Matt? NEW YouTube Membership Benefits! ... Tower of Fantasy - FARM SSR WEAPONS & EPIC VEHICLE DROPS...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Hashnode Post

No results found