Web Component Recipe Helpers
Want to see pretty graphs? Log in now!
npm install recipe
|17||downloads in the last month|
|Last Published By|
|Version||0.1.2 last updated 7 months ago|
|Keywords||query, match, filter|
# dsc: A simple micro-library for defining and dispatching keyboard shortcuts. # url: https://github.com/madrobby/keymaster [core] js <= github://madrobby/keymaster/keymaster.js
What about Web Components?
There is a lot of talk going on around Web Components at the moment, but this project isn't designed with Web Components in mind and so the terminology has been avoided.
What recipe is though is a:
- constistent, reusable way of definining reusable resources on the web
While we are avoiding term component, many of the principles of component design apply if you are looking to create useful, re-usable web resources. In particular good, re-usable web resources should be:
FOCUSED, which usually means SMALL. Have a well defined purpose and scope, and generally small defined surface area makes a component both easy to understand and also easy to test. This should be encouraged.
COMPOSABLE. The ability to take the component and use it in ways not envisaged (but still "correct") by the component author demonstrates good component design.