-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning: In next release empty section headers will be rendered. #38
Comments
I receive this too and I am using react 0.55 as well. Previously, the timeline rendered fine. Visually, it doesn't render at all and get the following message: Stack strace: Warning: In next release empty section headers will be rendered. In this release you can use 'enableEmptySections' flag to render empty section headers.
|
@neogeno, how was you passing data to the 'data' prop? Previously I passed it a function which mapped my data into the structure required by the component. I have since moved that logic out to a separate function and invoked it and works fine for me now without the warning messages. Old way that no longer works for me: Extracted way which works:
|
UPDATE: The easiest way is to use
=================================================================== In your project folder find On the render() find the code below and put
After that the yellow warning will be gone |
With latest version of React Native 0.55 this yellow box appears.
The text was updated successfully, but these errors were encountered: