I created this app as a simple demonstration of how to use WebSockets to chart real-time finance data (in this case Bitcoin’s price) using Twelvedata APIs, React (specifically Next.js) and vector drawing library D3.js.
Tag Archives: source code
Reack and Morquery
Here’s an example app which uses React Query to add the superpowers of caching, de-bouncing, and automatic cancellation/retries to a simple fetch-based React app. The source is available here – it’s all TypeScript and includes some E2E tests.
Continue reading Reack and MorqueryChat app in React (hooks)
Here’s a simple chat app I created as an example of using (hooks flavoured) React with Firebase, all in TypeScript. It’s a little like the YouTube superchat thing, whereby everyone can log in with single click Google authentication and all chat to each other.
Continue reading Chat app in React (hooks)Optimal scrolling for 2D games or UIs
I recently stumbled upon an old bit of code which demonstrates a technique I created for an efficient scrolling data grid on the YouView TV platform. I call it ‘Blit Scrolling’. Below is a demo of the concept.