It's time for another maintenance release with minor tweaks here and there. Probably the biggest change is the fancy new cover which I crafted based on the logo design of Prospect One. Cheers for that.
Probably the biggest news this time around is that the book is going to be a part of the React Indie Bundle. This will be a good chance to pick up some additional material while supporting indie authors and library/tool developers in their craft.
The situation with Babel 6 is still a little problematic. Besides waiting for babel-plugin-react-transform to catch up, there's the additional issue of decorator support. I'll keep an eye on the progress and update the book once the time is right.
The biggest cosmetic change has to do with the introduction of property initializers. I simply got tired of having to use bind
at constructor so I enabled the feature for the project. Even though experimental feature, it cleans up the examples somewhat so I believe it was worth it. The only gotcha is that hot loading doesn't support property initializers. But then, we had the same issue earlier. Now the code is just a little neater.
I put some serious effort to developing Antwar, my Webpack and React based site generator. Given I use it to develop this site, I felt it was a good chance to push it further. I managed to simplify it conceptually somewhat while improve performance a great deal. The work is on-going and I'm still dogfooding it. By the looks of it, the next release should be quite sweet. You can think of Antwar as "Webpack of static site generators".
1.9.10
#In total 34 commits went to 1.9.10
. To make it easier to follow what happened and where, I've split up the changes below.
You can see GitHub for all changes.
PATHS
structure. A little neater this way.stats: 'errors-only',
option. This relatively new option gives you far less output and helps to keep your terminal clean.key
to use id
directly. The ids are unique so why not.waitFor
explanation.Editable
. Now it encapsulates store itself. It would be interesting to extract the state and control it outside. This would be a good extension point for further development.DefinePlugin
and how to use it. I managed to bum a couple of lines of code while at it given you can do just 'process.env.NODE_ENV'
. Small win but a win still.I will review the typing situation and go through the book myself from start to finish to see potential pain points. Perhaps I can do something to improve the code examples. There are a couple of ideas related to that. After this I have to cut v2.0.0
. That's not an end of course but I feel it's an important milestone for this project.
Even though small release, I want to thank you for feedback again. You helped me to fix a lot of issues I never would have caught on my own. You can contact me directly or through the GitHub issue tracker. Also Gitter will work.
Remember that you can support my work by purchasing the book at Leanpub. Every little bit counts and allows me to keep it up.