I gave a talk at Bristol JS about my experiences of writing a small framework-less front-end app for wrightsnotes.com. Unfortunately it was not recorded but the slides provide some info on how I have structured the code base. In summary: I used one package, virtual dom to provide react-like virtual dom building and diffing functionality and I’ve build a small app around it. I’ve handled state using an action dispatch & reduce pattern and I’ve written small helper functions to smooth over any browser API inconsistencies that might bite me.
The new shiny website referred to in the deck is wrightsnotes.co/wrights/new. The crappy website will make your eyes bleed so I will refrain from sharing.