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.

Allow using Fragment for tagName

See original GitHub issue

It would be great if the top-level Element could be any React component rather than specifically just a DOM string. In particular, it’d be nice to be able to use React.Fragment in order to avoid having any wrapper at all with React 16.2+.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
milesjcommented, Apr 9, 2018

Was going to look into it after your PR lands.

0reactions
rmccuecommented, Apr 17, 2018

Brilliant, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to set a Fragment tag by code? - Stack Overflow
method in the Fragment class. The only way to set a Fragment tag that I have found is by doing a FragmentTransaction and...
Read more >
The danger of using getSimpleName() as TAG for Fragment
When we want to add a Fragment into a container of an Activity, we'll normally use a TAG as it's ID. getFragmentManager().beginTransaction()
Read more >
Creating and Using Fragments | CodePath Android Cliffnotes
Fragments should be modular, standalone and reusable components. The fragments allow their parent activity to respond to intents and callbacks in most cases....
Read more >
Fragment manager - Android Developers
Providing the fragment's class to the replace() method allows the FragmentManager to handle instantiation using its FragmentFactory .
Read more >
Fragments - React
A common pattern in React is for a component to return multiple elements. Fragments let you group a list of children without adding...
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