question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem rendering FlatElements

See original GitHub issue

I love to have react-native-testing testing approach in RN, and I’m starting to use it.

I can render almost any RN element, unless FlatList and SectionList. Somehow they are never renderer when I try to access the elements I render with renderItem, additionally when I check with debug() is like if they are omitted from the rendering.

What should I do to get them working?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
robertovgcommented, Nov 25, 2018

I just send them the issue, as you said, is not a problem with react-native-testing-library but something they are doing with the FlatList.

Let’s see the solution as I think will be useful for any react-native developer using expo.

Thanks for all!

0reactions
thymikeecommented, Nov 25, 2018

Closing this issue then. Let us know what you found out and when it’s fixed 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

React - Rendering an array of objects using Map
I had a feeling that the nested array was part of the problem. I flattened it and was able to render the data....
Read more >
Layout issues — crashes - SketchUp Community
Hi guys, I am not able to render my last three pages of the document to Hybrid. Layout keeps crashing on me.
Read more >
Position-Normal Distributions for Efficient Rendering of ...
They introduce an algorithm that evaluates P-NDFs by turning the prob- lem into integration over the normal map, finely discretized into triangles. This...
Read more >
Physically-based Modeling and Rendering of Complex Visual ...
In this dissertation, we focus on physically-based rendering that synthesizes realistic images from 3D models and scenes.
Read more >
Glint Rendering based on a Multiple-Scattering Patch BRDF
Importance sampling is suboptimal and causes fireflies. Our new multiple-scattering glint integrator tackles these issues. It produces ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found