enthought/enaml — Issue #55: Allow component reference to have no attributes except id
Author: jdmarch
Created: 2011-12-30 16:33:19+00:00
State: open

This naive user would expect to be able to code something like this:

```
Form:
Label:
text = 'foo'
MyComponent:
id: my_id
```

However the 'id' line is not sufficient to establish a body for MyComponent, so it is actually necessary to include a 'pass' line after the 'id'.

Why would one want to pre-define a component so thoroughly that there remains nothing else to be defined in line?

For reusability, to avoid code repetition.