A highly customizable & extendable homepage
clone the repo, and run
npm install webpack
webpack --watch for continuous rebuilds
Note that Chrome will complain about cross-origin SVGs if the files are served as file:// so you may need to run a local webserver to test.
Style and Vocabulary
Group associated imports together in blocks, formatted like so:
Module = require("./Module.cjsx") LongNameModule = require("./LongNameModule.cjsx") ModuleToo = require("./ModuleToo.cjsx")
When importing multiple submodules, bind the top level module to a local variable, and then reference that for the submodule bindings
Widget = require("./constants.cjsx") WidgetHelpers = Widget.helpers
- Stores should be postfixed with the word
Store(i.e the store that tracks which widget is being dragged is called the DragStore)
Optionis used to refer to Reflux stores that contain some group of user-configurable variables.