GithubHelp home page GithubHelp logo

Unload the loaded JS objects? about esri-loader HOT 4 CLOSED

esri avatar esri commented on May 22, 2024
Unload the loaded JS objects?

from esri-loader.

Comments (4)

tomwayson avatar tomwayson commented on May 22, 2024 3

@digz6666

As far as I know, you should not need to "unload" them as long as you are using the techniques @odoe describes in his blog post/video.

I have never tried that w/ esri-loader, but it's conceivable that it could work. If you're going to try that, I'd suggest using esri-loader directly instead of using angular-esri-loader. This is b/c the latest esri-loader let's you pass the dojoConfig that is needed to load 4.x modules from the 3.x loader. Also, angular-esri-loader is going to be deprecated.

If you get that to work, I'd love it if you could share back here with your results.

from esri-loader.

andygup avatar andygup commented on May 22, 2024

Need a bit more info. Are you using globals to share modules between the two APIs?

Cross-reference: tomwayson/angular-esri-loader#35

from esri-loader.

digz6666 avatar digz6666 commented on May 22, 2024

@tomwayson Thanks, I will try and share my results back.

from esri-loader.

andygup avatar andygup commented on May 22, 2024

Closing. @digz6666 please feel free to reopen if you have follow up questions/comments.

from esri-loader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.