Aug 29, 2017 · 1 min read
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.
