Skip to content
This repository was archived by the owner on Jul 26, 2022. It is now read-only.

Required Properties

Jan Miksovsky edited this page May 13, 2015 · 1 revision

Checklist » API

✓ Required Properties

Does the component avoid requiring properties to be set unless absolutely necessary?

[This article is a stub, and is not yet complete.]

A component may reasonably require that a certain set of properties be set in order to perform its core function. E.g., a google-sheets element requires an API key. A component should at least cope (not crash) if required properties are missing. What’s a reasonable recommendation for how to act: display a console warning, or display a warning message in the component itself?

Clone this wiki locally