If the previous release candidate had few changes, this one is the opposite. I consider this good news as it's better to catch bigger issues now rather than later. Thanks for feedback!
I managed to improve the Redux version of Kanban. Most importantly I integrated redux-devtools to it. The implementation could probably use a few more tweaks, but that's not the priority right now.
Thanks to reader feedback, the Kanban implementation has improved in various places. The UX is a little better now and the logic is clearer in certain parts. These are small touches that are worth doing. I still need to update certain screenshots at the book to match the current status, but the technical parts are there.
html-webpack-plugin reached a new major version. Unfortunately this broke compatibility with html-webpack-template temporarily. There's a compatible version of the latter available as a tagged version. The problem has been resolved in the current version.
It's starting to look good. I will be very happy to get this puppy out of the door. Who said writing books is easy? :)
2.0.0-rc3
#In total 58 commits went to 2.0.0-rc3
. To make it easier to follow what happened and where, I've split up the changes below.
On general level I tidied up arrow syntax. I.e. instead of (name) => ...
you might see name => ...
. The latter form is less noisy so that's used where it makes sense. Feel free to use either one you prefer, though.
See GitHub for all changes. Especially the "Files changed" tab is highly useful.
Object.assign
while keeping it legacy compatible. One less direct dependency to worry about!index.jsx
" greatly. This was possible thanks to the fact that html-webpack-plugin is discussed later.defaultValue
instead of placeholder
while setting the input caret to the end. This achieved by using a ref
with a callback. It's a small trick that's worth knowing and covering as it gives you more control just for cases like this.Object.assign
directly and it will work.NoteStore.get
and NoteStore.getNotesByIds
to make it unambiguous.NoteStorage.getNotesByIds
in detail. There's quite a bit going on so this felt like a good idea.stopPropagation
to override the default bubbling behavior.console.log
to use backtick syntax where it felt like a good idea. A little easier to read.console.log
to use backtick syntax where it felt like a good idea.removeNote
and wrote the logic inline into attachToLane
. Simpler and easier to understand.console
instead of the logging API that Webpack provides. I'll try to get the plugin fixed in the near future.onDelete
propType
from Note
. This isn't needed at all as it's enough to assert it on Editable
."extends": "eslint:recommended",
at .eslintrc. It's a good starting point.As usual, I will work based on your feedback. I have a couple of discussion points in mind I want to expand upon. And I need to get those screenshots done. The nice thing is that there aren't that many content related tasks yet! So in short, it's starting to look good.
After I have done the tweaks I have in mind, I'll move to the next step with my publication process to get the first paper version done. Interesting times.
If you are working through the book, remember that you can find up to date code from the book repository. I maintain the stable version at the master
branch. For technical reasons the repository shows you the development version, though. This is just to make it easier to contribute to the book.
Remember that you can contact me directly or through the GitHub issue tracker. Also Gitter will work. It's good for me to know where you struggle so I can tweak the book.
You can support my work by purchasing the book at Leanpub. Every little bit counts and allows me to keep it up.