myheritage / UiZoo.js

Dynamic React components library 🦉
https://myheritage.github.io/UiZoo.js
MIT License
246 stars 14 forks source link

Error handling #5

Closed Tzook closed 7 years ago

Tzook commented 7 years ago

Whenever we have an error, in addition to console logging the error, display it with a new component. For example, when there is a problem with "Example" compiler. *note: In "Example" need to add an error when the root of the example is not the current component.

liorgreenb commented 7 years ago

Actually, we should support examples not stating with current component, for example, a component like CardBody which has meaning only inside Card, Or a special table row that has meaning only inside a table. @Tzook