This is definitely a clean solution! One thing bugged me though.
Juha Pekkarinen
352

What about CSS files and scss files assigned to reusable components?

Should I put them inside folder or make completely separate source folder for style?

I would separate too functions used for communication with server.

In my project which isn’t big at the moment but will growth drastically (rewriting tones of Backbone to React) and I created core elements of site (inputs, labels, popups, etc) and import them to one file and export so I can import them directly from one file without thinking of where such file is.

The only problem I have is how to create some kind of global variable so I don’t have to write relative path in import but write name of file.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.