Right now we can't hotreload component bodies going from something to nothing or nothing to something since that's functionally adding/removing a .children() method.
In debug or dev mode we should always pass in children as either some or none into the builder, even if the component doesn't do anything with those children. This would let us hotreload component bodies in more cases than we do today.
This would be breaking (might be able to find a way around it).
Feature Request
Right now we can't hotreload component bodies going from something to nothing or nothing to something since that's functionally adding/removing a .children() method.
In debug or dev mode we should always pass in children as either some or none into the builder, even if the component doesn't do anything with those children. This would let us hotreload component bodies in more cases than we do today.
This would be breaking (might be able to find a way around it).