Deprecate `isOpen`
See original GitHub issueI find this more convenient compared to the current approach.
{ condition ? (
<Modal
onRequestClose={fn}
closeTimeoutMS={n}
>
<h1>Modal Content</h1>
<p>Etc.</p>
</Modal>
) : null }
However, I haven’t tried this (whether is works), and I do not acknowledge any pros and cons of the approach besides a cleaner API.
Issue Analytics
- State:
- Created 8 years ago
- Comments:8
Top Results From Across the Web
DEPRECATE Pragma - Database - Oracle Help Center
The DEPRECATE pragma marks a PL/SQL element as deprecated. The compiler issues warnings for uses of pragma DEPRECATE or of deprecated elements.
Read more >MQManagedObject - IBM
The set of open options used when opening this resource. Setting this attribute has no effect. isOpen. public boolean isOpen. Deprecated. Accessing this...
Read more >Place Field Migration (open_now, utc_offset)
The Places fields opening_hours.open_now and utc_offset are deprecated as of November 20, 2019, and will be turned off on February 20, 2021.
Read more >ISOpen V4.4.1 by KoyoteSoft - Should I Remove It?
You can uninstall ISOpen from your computer by using the Add/Remove Program feature in the Window's Control Panel. On the Start menu (for...
Read more >BaseRedisAsyncCommands (Lettuce 6.2.2.RELEASE API)
Deprecated. since 6.2. Use the corresponding StatefulConnection.isOpen() method on the connection interface. To be removed with Lettuce 7.0.
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 FreeTop 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
Top GitHub Comments
@pstoica @srph @monsieurnebo @diasbruno So basically the whole point of
isOpen
is to allow animations throughReactTransitionGroup
?If I don’t have animation, can you confirm that no using
isOpen
and returningnull
(no render atl all) is straightforward and well… better.What the point of the portal? Only animation or is there some a11y magic?
Related to https://github.com/reactjs/react-modal/pull/205
@monsieurnebo CC