Frontend
Components
Modern web development uses components. Many component based frameworks exists such as react.js, and vue.js to name but a few. On the ALICE O2 System, we use O2 WebUI, which is based on mithril.js.
Do’s and Don’ts of component based web development
Here I collect a list of best practices. They are supposed to be framework agnostic!
- Don’t mix behavior based components with the actual DOM
- Never suppose the context in a component
- Use anchor tags only if they are for navigation
- In Javascript, prefer to use the strict equality operator