MobX with React Introduction

By Amitai B.

Mar 2, 2018

MobX is a simple state management solution that can be used very easily for ReactJS.

ReactJS contains a JavaScript library for building user interfaces, but it doesn’t have a built-in state management or two-way binding like Angular does (in version 16.3 it has changed with the introduction of a new Context API).

Continue reading “MobX with React Introduction”

Mini-tutorial on Responsive Layouts – part 2

By Masha K.

Jan 4, 2018

This is part two of the mini-tutorial. It covers the negative margins, z-index and flexbox. Read part one here.

Positioning (continued)

Negative margins

Another positioning tool is margins with negative values: margin-top: -10px;. One could use a negative margin to:

  • To adjust the position of an element, for example, pull it up or left a few pixels. A common use case here is centering an absolutely positioned element with fixed width and height. Have a look at this square block:
div.modal {
  position: absolute;
  height: 100px;
  width: 100px;
Continue reading “Mini-tutorial on Responsive Layouts – part 2”

Mini-tutorial on Responsive Layouts – part 1

By Masha K.

Dec 29, 2017

This is part one of the mini-tutorial. It covers the box model and introduces the concept of positioning, together with three essential CSS properties: displayfloat and position. Read part two here.

Effectively using CSS and HTML to build responsive layouts seems to be a painful topic for everybody. Part of the problem is CSS itself. It’s not perfect, it has no error messages, it’s hard to debug and different browsers interpret it differently.

Continue reading “Mini-tutorial on Responsive Layouts – part 1”

Enhancing Test Suite Robustness

By. Guy Y.

Dec 14, 2017

There are a lot of great benefits from unit testing.

It’s important to keep in mind that as the code base changes over time, so does the test code.

Some tests are written as part of the TDD (test-driven development) methodology; some are added after to verify older code.

A good test suite is easy and fast to maintain, refactor and expand.

In this article, we’ll look at some common patterns that could add robustness to your test suites.

Continue reading “Enhancing Test Suite Robustness”

How to be a Better Junior: an Overview

By Masha K.

Nov 28, 2017

I realize that not a lot of actual first-time juniors will read this article. However, I’m convinced that anybody who works in a team and has to deal with people (either more experienced or less experienced) will find this text useful. So, here it goes!

Hey, have you just landed your first job in tech? First of all, congrats! Second of all, after the initial excitement passes, don’t panic. Everything’s gonna be fine. Yes, you don’t know these people with whom you share an open space; you’re not familiar with the project they’re expecting you to work on; you have no previous experience with the frameworks and languages used – that’s all fine. We all start somewhere.

Continue reading “How to be a Better Junior: an Overview”