This commit is contained in:
Barney Carroll 2016-11-27 12:50:45 +00:00
parent 2f5fe86caf
commit 1dd341fff5

View file

@ -171,7 +171,7 @@ Be aware that when using ES5 functions, the value of `this` in nested anonymous
Although Mithril is flexible, some code patterns are discouraged:
#### Avoiding restrictive interfaces
#### Avoid restrictive interfaces
Try to keep component interfaces generic - using `attrs` and `children` directly - unless the component requires special logic to operate on input.