Improve HMR support for default and destructured parameters, nested declarations, assignments during render, and components sharing a variable declaration with other exports.