Code Best Practices

  • Your components should NOT by default "present" with anything proprietary. The idea here is that as we move to react-native and other items (versus dom) we won't want all the presentation to be the same.

  • So, in practice, you shouldn't mix CSS into your components. Use external CSS as this might change when we do ReactNative or some other sort of rendering method.

  • CSS styles should be named like "object-item" not "objectItem" or "object_item".

Last updated