Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
TrailBase Clicker
[go: Go Back, main page]

TrailBase Demo

Admin Dashboard
  • login: admin@localhost
  • password: secret
Auth UI

If you like the demo, consider leaving a ⭐ on GitHub

Click the acorn across different tabs, browsers or computers to make everyone's count go 🚀

Context

This page showcases TrailBase's "realtime" APIs and server-side rendering (SSR) capabilities. The initial page-load contains pre-rendered HTML, which is then hydrated on the client. This reduces latency by saving the client a round-trip to fetch the initial counter value. The client also subscribes to counter changes and updates whenever someone else presses the acorn.