addyosmani / addyosmani/preact-hn

Why does show the first page items, then show blinking dots, then show the items again?

Aberta
#6 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
120
Forks
13
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

[I originally noticed this issue with both react-hn and preact-hn. Since I understand that the preact version is based on the react version, I posted this issue at https://github.com/insin/react-hn/issues/94 first (9 days ago now). But I have seen no response there. I thought it might therefore be useful to also post it here. Maybe it can be fixed for the preact version even if it remains in the react one.]

On my macOS machine, in Safari or Google Chrome, preact-hn very quickly shows the full front page of Hacker News, with all its items, but then it shows blinking dots, and then shows the items again.

I assume the quick display is because of SSR. But why can't those items stay on the screen until everything is loaded? It looks terrible and slow the way it works now, but could appear very snappy if the SSR-rendered page just seemed to stay on the screen.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.