Allow using Fragment for tagName
See original GitHub issueIt 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:
- Created 6 years ago
- Comments:6 (6 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Was going to look into it after your PR lands.
Brilliant, thanks!