Post

Does any @react.dev know why const Text = forwardRef((props, ref) => { return createElement('RCTText', { ...props, ref }) }) as ComponentType<TextProps> is causing There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.]

0 reposts1 like

We're trying to create a repro. We have one reliably in our project, but when we tried to make it a minimal repro, it stopped happening. We need to narrow it down and will get back to you once we have a reproducer.

This is the full error: wrapperError [Error: There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.] [Invariant Violation: View config getter callback for component `RCTText` must be a function (received `undefined`).]

Oh that’s interesting, looks like maybe there’s a race condition with the view config or something? Can you file an issue?