development diary

the factory factory factory

Last time, I wrote about making a new event emitter library as part of the architecture for front end apps.

Since then I read a couple things -- factoryfactoryfactory.net, and this killer blog Go Make Things. The example of preact + vanilla JS is so nice and simple, I had a moment where I thought, have I been making factory factory factories this whole time?

A couple things happened next. I rewrote the jazz-signals example so that it is simpler, and I forked the standalone signals library, so that I can use it via CDN without having to trust another person.

At least one good thing that came out of the factory factory was an extra minimal event emitter.


This app template shows this architecture in a re-usable format.