Compared to 1.8.0, 1.9.0
can be seen as a more conservative release. There are plenty of smaller fixes and even some new content too. I decided to fix the chapter structure to the current. I rather provide less but better content. This also helps to keep the cost of a paper version down.
2.0.0
#Besides integrating changes (thanks Steve!) and ideas, I gave 2.0.0
some proper thought. With 2.0.0
I will finally try to get the book to Amazon while getting it printed through them. This means I'll need to get a proper ISBN for the book. Only smaller tweaks, such as grammar fixes, are allowed after this. That's a little problematic.
The way I see it, the smartest move would be to treat 2.0.0
as an Amazon snapshot while developing the book further at Leanpub (2.1.0
and so on). Once 3.0.0
is reached, Amazon would get a new snapshot. I don't expect 3.0.0
to happen anytime soon, though, as that wouldn't be fair to the Amazon customers that bought 2.0.0
. Perhaps a yearly cycle would work. That would mean a minor release per month.
In order to keep it fair to potential Amazon clients, I'm willing to provide the Leanpub version for them using a heavily discounted upgrade cost. I'm a still fuzzy on the exact details but there has to be a neat transition path in place.
Getting the book printed is a huge step for me personally. It's great unknown but you don't get ahead unless you put in the effort. At the very least I will get something for my bookshelf if nothing else. The printing costs seem adequate given the current scope of the book. The print version will likely have to be black and white to keep the cost bearable but apart from that we should be good.
Ideally the book will continue to provide some level of income as that enables me to keep developing the content and technology around it.
1.9.0
#In total 134 commits went to 1.9.0
. To make it easier to follow what happened and where, I've split up the changes below.
You can see GitHub for all changes.
<ul className='names'>
format to <ul className="names">
. This is the format that official React documentation uses so it's better to use the same here as well.debugger;
statement. I realized this is a feature not many people are aware of. It's good to have it mentioned as a tip.concat
. I.e., instead of this.state.notes.concat({id: uuid.v4(), task: 'New task'})
you could do [...this.state.notes, [{id: uuid.v4(), task: 'New task'}]]
. You see this particularly in Redux examples so it's good to know.App
level. We'll push that to a nicer place in the following chapter of course.{notes}
is analogous to {notes: notes}
and linked to property shorthand documentation. We are using this shorthand a lot so it's worth discussing it.splice
although it would work here.lane
prop instead of object spreading. It is easier to understand what's going on in this solution.waitFor
is used in a clearer manner.LaneActions.detachFromLane
and NoteActions.delete
. It is a very good idea to detach a note from a lane before actually removing it from the system. Else you might end up trying to render notes that don't exist.Lane
related propTypes
. There were a couple of glitches to fix.preLoaders
is used for linting. These get executed first. If a linter fails, you'll want to know about it before doing anything else.style-loader
and css-loader
work in tandem.I originally intended to have this release to include React 0.14 related fixes. Rather than to keep you waiting, I decided to push those to 2.0.0
. An intermediate 1.9.5
might be possible but we'll see.
The book content is fixed and I'll perform tweaks only to the current content. I'm most interested in expanding the sections about Flow and TypeScript. Even though Flow has been developing fast, there are still some issues I have to wrestle with.
I also have to look into integrating react-dnd-touch-backend. I've done some preliminary work on that and hope to get included it in 2.0.0
.
I have a variety of blog content coming up. It's the perfect place for me to play with ideas in a more freeform manner. As I stated earlier, getting that Amazon release done is the biggest hurdle for me.
I hope you enjoy this release. As usual feedback and pull requests are welcome.
Remember that you can support my work by purchasing the book at Leanpub. Every little bit counts and allows me to keep it up.