DominicGo is about to go a whole lot fasterI’ve been implementing the same (or as similar as possible) trading orderbook algorithm in various languages recently and one thing I…Jan 23, 20222Jan 23, 20222
DominicHm this is just a "this is how you use react-virtualized" tut, it's actually pretty easy to roll…Also I recommend you use https://github.com/bvaughn/react-window instead. Same author but more focused and lightweight.Apr 1, 20211Apr 1, 20211
DominicinITNEXTHow to increase CSS-in-JS performance by 175xI like the convenience of CSS-in-JS especially being able to co-locate styling but I’m not convinced on a few of things:Dec 11, 20207Dec 11, 20207
DominicIs it time to ditch your React ThemeProvider?JS-in-CSS is now common practice, and your framework of choice probably provides a means to theme with JS Objects and a Provider. I’m…Mar 8, 2020Mar 8, 2020
DominicUsing React Hooks for global Redux storesWhen hooks came out there were various articles suggesting Redux might no longer be needed, and ripostes like these which argue (rightly)…Jan 29, 2020Jan 29, 2020
DominicWriting an OAuth flow from scratch in NodeJSWhen you search online OAuth seems intimidating; you’ll find lots of useless flow diagrams, and packages like PassportJS make it seem more…Jan 7, 2019Jan 7, 2019
DominicinITNEXTWriting Redux in 15 lines of codeI was inspired to write this today after a colleague new to React complained about how much boilerplate is involved when using Redux (and…Oct 11, 20181Oct 11, 20181
DominicTesting UI projects: we’re doing it wrongJavaScript has grown up and people feel their large UI projects must be tested. But I argue that while we’ve moved more logic to the…Jan 5, 20165Jan 5, 20165