I have one function that takes a sum type which includes React Node as one of the possible values. I can fix almost all flow errors by narrowing down types and saving values