This is the 2nd part of knowledge about rivets.js - a small JS library that binds data in web. While the first one was an introduction, this one treats about the details.
rivets.js - it's not too popular but it works and it's only 26 KB minified without gzipping (which would go to just 6 KB!). Let's go through it's features and see some snippets I've developed through few months.
I have stopped using Angular 2 in the beginning of this year - near before the Angular 4 release. I'm not trying to convince anyone about the future but I'd like to express my thoughts after gaining some experience. Not only about syntax and performance but about whole thing as a development tool.
I needed tabs that would not be destroyed by Angular. As powerful as if I would code a normal application for Windows in C#. Here's my solution.
Some people are fascinated about spreadsheets. This lovely type of software was offered in Apple II computer back in 1979. Every cell could contain either data (text, numbers) or formula. What's so special about it? Formulas are reactive. And that introduces the idea of reactivity.
Let's have a look at few examples in some experimental technologies touching this idea.
Once upon a time one usually desires to add Bootstrap into one's project. Adding support for Bootstrap might seem a little hard without understanding Webpack or even despite the understanding. I started working with Vue.js (by the way, it's great!) using the official webpack template and indeed - I struggled for a few hours.
Thus, I describe foreseen steps for the weary travelers who want Bootstrap-ify their Vue.js project.
EDIT: Look down into comments for current solutions.
contenteditable is a new HTML5 feature where you can edit any text inside DOM elements which are not editable by default (as input or textearea). Angular 2 is gaining it's momentum right now but couldn't find a recipe to bind contenteditable element to certain model object. I decided to write a simple Directive that binds element in two-way through element's innerText field.
What really tormented me was a real usage of TypeScript with Meteor and some quirks about it, as for beginner. Spent some time around it, so I'm going to share the final result.