Skip to content

erwinkn/hnpwa-blazor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Hacker News reader using Blazor WASM (Demo)

Yet another Hacker News reader, implemented as a Blazor progressive web application, in the spirit of the HNPWA benchmark.

The goal was to see how Blazor WASM performs compared to the popular Javascript SPA frameworks and try to optimize its performance as much as possible. Spoiler: much lower Lighthouse scores due to the initial download of the 4MB .NET runtime, but once you're past that, rendering speeds are very good, handling threads with hundreds of nested components without a problem.

If you have any suggestion on how to further improve this demo, please open an issue!

Under the hood:

  • Tailwind CSS integration
  • Easy NPM + PostCSS + .NET build process
  • Code-behind components
  • Progressive web application (PWA) capabilities
  • Uses the unofficial HN API, since it is much better suited for external development

What I'm looking into:

  • Virtualization for long comment threads
  • Server-side prerendering, ideally having the server do the first API call, render the page and send it to the client while the .NET runtime is downloading.

About

HackerNews reader with Blazor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published