-
-
Notifications
You must be signed in to change notification settings - Fork 330
Closed
Labels
priority-3-lowMay be resolved one any timeline.May be resolved one any timeline.type-refactorAbout improving code structure.About improving code structure.
Milestone
Description
Discussed in #865
Originally posted by Archmonger December 30, 2022
Ever since we've formalized support for conditionally rendered components, hotswap seems to have become a rather pointless utility.
This conversation is to discuss whether to deprecate/remove it.
Originally posted by rmorshea December 30, 2022
The primary function isn't really to facilitate conditional rendering. Rather, it's to allow you to swap components from outside the normal rendering flow. With that said, it's uses are pretty niche. At the moment it has one usage in IDOM's testing utilities. I'd say it would make sense to turn it into a private util in idom.testing.backend.
Metadata
Metadata
Assignees
Labels
priority-3-lowMay be resolved one any timeline.May be resolved one any timeline.type-refactorAbout improving code structure.About improving code structure.