Before we start

Before we even start talking about domain, let’s take a look at it:

We define a domain called alert it has components and redux folders but it also has constants file which is related only to this domain.

As you might see it’s quite tiny.

We define a domain and two folders inside it: components & redux. It depends on you what to put inside a domain folder. Whether you are using redux or relay. The idea is to keep everything related to a domain inside it’s own folder.