6 Publishing and using your framework’s first version
This chapter covers
- Publishing the first version of your framework to NPM
- Refactoring the TODOs application to use your framework
In chapter 5, you implemented a state manager and assembled it, together with a renderer, to build the first version of your frontend framework. In this chapter, you’ll publish the first version of your framework and then refactor the TODOs application you built using vanilla JavaScript.
NOTE You can find all the listings in this chapter in the listings/ch06 directory of the book’s repository (http://mng.bz/n1Ga). The code in this chapter can be checked out from the ch6 label (http://mng.bz/vPE7): $
git
switch
--detach
ch6
.