GitShow/addyosmani/preact-hn
addyosmani

preact-hn

๐Ÿ—ž Preact Hacker News

by addyosmani
Star on GitHubForkWebsitenpm

JavaScript

120 stars13 forks2 contributorsQuiet ยท 9y agoSince 2016

Meet the team

See all 2 on GitHub โ†’
addyosmani
addyosmani7 contributions

Languages

View on GitHub โ†’
JavaScript88%
CSS6.4%
HTML5.7%

Commit activity

Last 12 weeks ยท 0 commits

Full graph โ†’

Community health

2 of 6 standards met

Community profile โ†’
42
โœ“READMEโœ“Licenseโ—‹Contributingโ—‹Code of Conductโ—‹Issue Templateโ—‹PR Template

Recent PRs & issues

Quiet ยท 1 in progress ยท Last activity 9y ago
See all on GitHub โ†’
garyrob
Why does show the first page items, then show blinking dots, then show the items again?OpenIssue

[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.

garyrob ยท 8y ago
varunkumar
Fix footer in App.jsOpenPR

Fix footer to point to the correct repo

varunkumar ยท 9y ago
addyosmani
Investigate size-savingsOpenIssue

Preact is 3KB in size and preact-compat is a little over 3KB in gzipped size. IIRC React is over 40KB gzipped. Here are the break-downs of our dependencies both before and after conversion. React: !screen shot 2016-10-16 at 12 16 19 pm Preact: !screen shot 2016-10-16 at 12 15 00 pm Looking at the gzipped savings we're saving a little over 36KB. I wonder if there are any other savings to be had here.

addyosmani ยท 9y ago

Recent fixes

View closed PRs โ†’
addyosmani
Bug with Offline Mode (replaceState)ClosedIssue

#3 uncovered another small bug. When the Settings menu has been toggled, offline mode is triggering this.replaceState exceptions in StoryListItem.js:

addyosmani ยท 6y ago
sonu27
Live link downClosedIssue

The live links seems to have stopped working. Do we have an alternative?

sonu27 ยท 7y ago
maciejczyzewski
Repair bug with settings (double toggle)MergedPR

#1 _But there are some other bugs?_ Warning: Failed form propType: You provided a prop to a form field without an handler. This will render a read-only field. If the field should be mutable use . Otherwise, set either or . Check the render method of . Warning: Failed form propType: You provided a prop to a form field without an handler. This will render a read-only field. If the field should be mutable use . Otherwise, set either or . Check the render method of .

maciejczyzewski ยท 9y ago
Structured data for AI agents

Repository: addyosmani/preact-hn. Description: ๐Ÿ—ž Preact Hacker News Stars: 120, Forks: 13. Primary language: JavaScript. Languages: JavaScript (88%), CSS (6.4%), HTML (5.7%). Homepage: https://preact-hn.appspot.com Open PRs: 1, open issues: 3. Last activity: 9y ago. Community health: 42%. Top contributors: addyosmani.

ยท@ofershap

Replace github.com with gitshow.dev