Better HN
topnewbestaskshowjobs
Log inSign up

stereobooster

120 karma · joined Dec 25, 2011 (14y ago) · 50 submissions

Submissions

comment 3y ago · link · parent

Think of it like Algolia, Typesense, Meilisearch, but done without server - directly in the browser.

Online demo: https://facets-demo.stereobooster.com/

2.

Show HN: Facets – client-side faceted search(github.com ↗)

4 points · by stereobooster · 3y ago · 1 comment

3.

Show HN: Hiring Process(github.com ↗)

4 points · by stereobooster · 7y ago · 2 comments

4.

Function vs. Object(stereobooster.com ↗)

3 points · by stereobooster · 7y ago · discuss

5.

Show HN: Dev.wtf – Developer's Reference(stereobooster.com ↗)

1 points · by stereobooster · 7y ago · discuss

6.

Show HN: Type Systems FAQ(stereobooster.com ↗)

1 points · by stereobooster · 7y ago · discuss

7.

TypeScript: Type vs. Interface(stereobooster.com ↗)

2 points · by stereobooster · 7y ago · discuss

8.

Introduction: From Function to Closure(stereobooster.com ↗)

1 points · by stereobooster · 7y ago · discuss

9.

Show HN: The Button(github.com ↗)

9 points · by stereobooster · 7y ago · discuss

comment 8y ago · link · parent

Thanks for this response, this is very helpful. I will update post with this concern

11.

Fullscreen mobile modal: how hard can it be?(github.com ↗)

56 points · by stereobooster · 8y ago · 43 comments

12.

What are types (in type systems)?(github.com ↗)

1 points · by stereobooster · 8y ago · discuss

13.

How to Handle JSON Based APIs in FlowType and TypeScript(github.com ↗)

2 points · by stereobooster · 8y ago · discuss

14.

Opaque types and how they could have saved Mars Climate Orbiter(github.com ↗)

2 points · by stereobooster · 8y ago · discuss

15.

Small practical guide on Flow and TypeScript for JavaScript developers(github.com ↗)

2 points · by stereobooster · 8y ago · discuss

comment 8y ago · link · parent

Module size is ~7Kb. A detailed comparison is here https://github.com/stereobooster/react-ideal-image/blob/mast...

> The discussion on performance is too focused on mobile

Because mobile users have a slower internet connection and worse CPUs.

What kind of performance are you talking about? If load performance, then this component uses well-established techniques (not invented by me), like lazy-loading (known since jQuery times), srcset (web standard), LQIP (used by Facebook, Medium), width, height (required for all blocks in AMP).

If you are talking about JS performance like frame rate or paint or "junk" on the scroll - I didn't measure it but didn't say it was the first target either.

comment 8y ago · link · parent

But not this component. This component will load images without JS. Test it yourself https://stereobooster.github.io/react-ideal-image-experiment...

comment 8y ago · link · parent

What you are talking about is more like graceful degradation. If server side rendering is used you will be able to see content ASAP, but not able to scroll, because interaction is blocked by JS. But if you will visit page with JS disabled you will get what you want, because component generates img in noscript tag and you will be able press space to scan the page

comment 8y ago · link · parent

Oh yes. More than one

comment 8y ago · link · parent

This component supports solid color as placeholder. The same way as Google Images or Pinterest do

comment 8y ago · link · parent

I'll definitely take your use case into the consideration in the future

comment 8y ago · link · parent

Ok I see your use case: you load page on good connection, then connection get worse and images are not loaded when you scroll to it.

This component allows to retry image load (click on it).

It can be even more smart, like if network is good go ahead and download everything. Need to think about it

comment 8y ago · link · parent

It supports retina/3x. Provide big enough image and it will use it. It takes into account `devicePixelRatio`

> maybe default max width of 100% on mobile?

It is.

> optional ability to overlay an empty full size block so the image cant easily be right clicked and saved

Not sure what you mean, but as soon as image loaded it turns into good old image, so you can do right click

comment 8y ago · link · parent

It supports SVG placeholders. SVGs need to be converted to data URIs, like `data:image/svg+xml,%3csvg xmlns='...`, and it works the same as LQIP. You can use https://github.com/stereobooster/sqip.macro to generate those

comment 8y ago · link · parent

Can you explain why?
12