coreux-components
v0.1.11
Published
React Components extending azure-devops-ui and office fabric
Downloads
9
Maintainers
Readme
CoreUX-Components
Components based on and extending azure-devops-ui and Office fabric
Contributing guidelines
- Create a Component Hierarchy (Read: https://reactjs.org/docs/thinking-in-react.html)
- Use defaultProps
- Use generic prop names
- Use functional components whenever possible
- If having a local state is absolutely required, consider using react hooks
- Avoid using class variables using
this.var
. Use state for such cases - Component should render when no props are passed
- Use destructuring for state and props
- For styling, use classnames only unless you are using components from a library and a specific component is not forwarding the className explicitly.
- All css classes must be prefixed by
coreux-