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
First call require load file from filesystem, second call get this file from cache (reference on object). But my function(s) may be change this object. And second call require return changed object. It is normal behavior or not?
The text was updated successfully, but these errors were encountered:
If you want a module to export a default state that multiple things can get unique copies of, you can export a function that you can call to return a new instance of the object.
First call require load file from filesystem, second call get this file from cache (reference on object). But my function(s) may be change this object. And second call require return changed object. It is normal behavior or not?
The text was updated successfully, but these errors were encountered: