tastejs / hacker-news-pwas

HNPWA - Hacker News readers as Progressive Web Apps 📱
https://hnpwa.com
2.38k stars 206 forks source link

Standardize specifications #105

Open housseindjirdeh opened 6 years ago

housseindjirdeh commented 6 years ago

Some discussion has been made to standardize specifications between the different implementations - let's use this ticket to discuss how we can/should do this.

addyosmani commented 6 years ago

cc @anubhav7495 as he's been helping out with extensive reviews recently. cc @kristoferbaxter in case he has opinions here too :)

Some of the discrepancies that I've observed in PRs we've received that would be useful to document better for the specification:

kristoferbaxter commented 6 years ago

+1 to all of these

The data caching step isn't currently supported by a few implementations, so we could either:

  1. Ask the authors to update with a reasonable timeframe 1a. Should implementations be dropped if they are not updated? 1b. If not, what should be done?
  2. Implement PRs for existing implementations

This sets a precedent for future additions to the specifications.

anubhav7495 commented 6 years ago

:+1: from my side too.

Also, some older apps list 20 stories per page instead of 30. We should also open PRs for those implementations.

Examples: Svelte HN Vue HN Viper-News Nuxt HN

Rich-Harris commented 6 years ago

How do y'all feel about standardising the data fetching, CSS, routing(?) etc so that the examples are more purely focused on the UI implementation side of things? Similar to todomvc-common.

chulian1819 commented 6 years ago

what about sites hosted on different platforms that will result in different response times? will be ideal to have a single host provider to avoid any response discrepancy between the different providers

chulian1819 commented 6 years ago

also all demos should be single page website, some demos are some aren't, but adding this behavior can add some extra kb to the request, having a direct impact on the speed.

ps: would be nice to add as a metric the js size on the initial page load.