Closed
Description
Hello,
While going through the hot module replacement guide, I noticed a snippet line did not have + sign indicating that its a new statement.
What is the current behavior?
HMR guide page's Gotcha section has a code snippet. This code snippet introduces a let element = component();
statement. Its not present in the Enabling HMR section. However, it does not have a + sign to indicate that its a new statement.
What is the expected behavior?
The let element = component();
statement should be treated as a new statement by having a + in front of it and highlighting it in green.
Thank you