If one attempts to edit the code before connecting the input of the component the TypeError is placed in the code and does not go away if the component is subsequently linked.
Advice: link component first
Ideally: remove TypeError when the error cause is removed