Skip to content
Snippets Groups Projects
  • Akihiko Odaki's avatar
    7cb49eaa
    Do not use function name to track components (#6542) · 7cb49eaa
    Akihiko Odaki authored
    UglifyJS2 is allowed to mangle function names, and function names can also
    be duplicate if they are from different scopes. Therefore function names
    are not reliable as identifiers.
    
    Functions as keys for Map object is a cheaper and more reliable
    alternative.
    7cb49eaa
    History
    Do not use function name to track components (#6542)
    Akihiko Odaki authored
    UglifyJS2 is allowed to mangle function names, and function names can also
    be duplicate if they are from different scopes. Therefore function names
    are not reliable as identifiers.
    
    Functions as keys for Map object is a cheaper and more reliable
    alternative.
bundle.js 2.26 KiB