You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I really don't want more module level state variables 1) as they are major blockers against #2187 as those variables only initialize once and 2) it makes harder to track how modules depends on others. Modules should ideally only export functions and constants, not variables.
I guess 2) is hard to solve in current code structure though, but maybe we can create a new object to save states and pass it instead of current conf to at least make modules more modularized:
const respecDoc = {
configuration, // current conf
possibleExternalLinks,
/* ... other states that can change during module runs ... */
};
The text was updated successfully, but these errors were encountered:
From #2832:
The text was updated successfully, but these errors were encountered: