- Follow the (Prettier)[https://prettier.io/] setup.
- camelCase for file names. (
longFileName.js) - No
index.jsorindex.jsxfiles. - As always: when in Rome, do as the Romans do.
You can run npm run format to format everything. Getting live feedback via integrating Prettier with your editor is helpful as well.
The original client was implemented using Yahoo's user interface library YUI2 which has been depreciated since 2011. Since April 2015 there has been an ongoing effort to eradicate the old (buggy) YUI code.
Do not require('jquery') - instead require('js/shims/jquery'). js/shims/jquery is responsible for combining Semantic UI's jQuery plugins and other plugins all together into one object.