I have a scenario where a parent component sends a prop down to be consumed by my container.
In the cases in that errorHandler is rendered, though, I also need to consume the same prop and it is not available.
The prop in question is used by the inner component to define its order value. Without the order value, the error component is totally misplaced.
I have a scenario where a parent component sends a prop down to be consumed by my container. In the cases in that
errorHandler
is rendered, though, I also need to consume the same prop and it is not available.The prop in question is used by the inner component to define its order value. Without the
order
value, the error component is totally misplaced.Example:
If
Article#3
fails and I cannot defineorder
for itserrorHandler
, then it would be rendered on top, instead of the middle: