IMPORTANT! If you want to support the development of this book, you can purchase a copy at Leanpub. Feedback is valuable as well.
webpack, a module bundler, solves a significant problem for web developers. It can be daunting to learn but once you grok it, life gets easier. Same goes for React, a JavaScript library for building UIs. This book shows you how to build a little Kanban application using these technologies. During the process you will learn the basics and will be able to take the skills to your own projects.
The repository has been split in two main parts: manuscript
and project_source
. You can find the book in its entirety under manuscript
organized per chapter. project_source
contains source associated to each chapter.
There is no single right way to approach the book. It depends on your experience level and interest. You can build the project from scratch by following the book or you can start from a specific stage. Just pick the source from previous chapter as your starting point.
It is possible new content will be developed to the book. This depends on your support. You can see some potential ideas below.
Chapter | Description | Progress | Notes |
---|---|---|---|
Routing with react-router | Extending further (multiple boards, charts) | 0% | It might be nice to discuss routing and expand the app while at it |
Backend | This would discuss the usage of webpack on backend. REST API on top of Express and Swagger? | 5% | Tech demo |
Isomorphism | How to go isomorphic with the app. Discuss benefits and possible gotchas. | 0% | |
Performance | Performance strategies for webpack and React | 0% | |
Testing | Testing approaches/tools for webpack and React | 0% | |
Internationalization etc. | i18n/l10n/a11y | 0% | Gathering ideas |
Debugging webpack | Various debugging strategies for webpack | 0% | Need to go through various strategies and develop tooling |
Data trees (baobab) | How to port the application to Baobab | 0% | I had some material on this initially but went with Alt instead as it felt simpler and more fitting for the book |
Feedback is welcome. You can provide it through the issue tracker.
It is possible to generate an ebook version through Calibre. Make sure you have it installed before trying the generation script. You can get it from Calibre site or alternatively you can use the package manager of your operating system (Homebrew-cask for Mac, sudo apt-get install calibre calibre-bin
for Ubuntu). If you use Homebrew-cask, you may need to add the Calibre CLI to your PATH (e.g. export PATH=$PATH://opt/homebrew-cask/Caskroom/calibre/2.31.0/calibre.app/Contents/MacOS
).
To generate a pdf version of the book, hit npm install
and npm start
. After that you should have ./book.pdf
.