No, there’s no way to determine what a child will render using React. The standard way to do this is to expose some utility function that says whether A will render.
Something like:
if (AUtils.isStoryValid(story)) {
return <A story={story} />;
} else {
return <B story={story} />;
}