How to unmount?
See original GitHub issueReact has unmountComponentAtNode, preact has render(null, element)
, etc.
How would that work in Superfine?
patch(null, null, container) // ?
// or
unmount(container) //?
What is it expected from this operation?
Issue Analytics
- State:
- Created 5 years ago
- Comments:20 (10 by maintainers)
Top Results From Across the Web
How to Mount and Unmount Storage Devices from the Linux ...
To unmount a mounted file system, use the umount command. Note that there is no “n” between the “u” and the “m”—the command...
Read more >How To Mount and Unmount Drives on Linux - devconnected
On Linux, the easiest way to unmount drives on Linux is to use the “umount” command. Note : the “umount” command should not...
Read more >How to unmount/detach volume from Linux and Windows VM
Choose a volume you want to unmount. Right-click and select "Change Drive Letter and Paths". Select the volume's drive letter and click "Remove"....
Read more >Mounting and unmounting media using Linux
Type cd and then press Enter. · Type one of the following commands: If the medium to be unmounted is a CD, type...
Read more >How to Unmount a Volume in Windows - Computer Hope
In Disk Management, locate the block that represents the volume you want to unmount. · Select the volume's drive letter, and click Remove....
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
Unmounting (calling life-cycle events) would just be
patch(lastState, null, container)
right?Describing this as “unmounting” doesn’t really make much sense though, as nothing gets “mounted” in the first place - the library is stateless, it isn’t mounting a component in the DOM or something, it’s just simply “patching”, according to the new/old state you provide.
If you provide a null state, it removes the nodes - still just a “patch” by any other name.
Just my two cents.
@uchcode I want to add this feature, one way or another, I just would like to discuss what behavior we all want.