Published 7/21/2016
TDD - we should give a try.

TDD - Test Driven Development

"Test-driven development (TDD) is a development technique where you must first write a test that fails before you write new functional code. TDD is being quickly adopted by agile software developers for development of application source code and is even being adopted by Agile DBAs for database development."

Write tests first

For now I will just post link for this interesting approach I would like to try: http://jrsinclair.com/articles/2016/one-weird-trick-that-will-change-the-way-you-code-forever-javascript-tdd/

TDD in SPA development

This technique may be interesting in single page development (React) where you can think about your components first - write some basic tests which will cover your idea - and then start writing components.

Also may be pretty handy while building redux reducers where you can design your reducers - write tests to cover your redux part - and then start implementing reducers functionality.

If all tests are green your are good.

Let's try it :)