Coder Social home page Coder Social logo

Do containers that are not deployed independently need to set eager to true for react and react-native dependencies? about repack HOT 4 CLOSED

JoonDong2 avatar JoonDong2 commented on June 21, 2024
Do containers that are not deployed independently need to set eager to true for react and react-native dependencies?

from repack.

Comments (4)

jbroma avatar jbroma commented on June 21, 2024 2

Hey @JoonDong2,

as far as I know, for proper initialization, setting react and react-native is required. I have not experimented in that area because it was a never a big issue to begin with. I'm unable to provide you with a more advanced take on the subject.

You're saying that bundle file size becomes too large, how large are we talking about here?. For our TesterApp, which isn't optimized at all for the main chunk filesize, it takes roughly 1,5 MB of diskspace.

from repack.

JoonDong2 avatar JoonDong2 commented on June 21, 2024

Hey @JoonDong2,

as far as I know, for proper initialization, setting react and react-native is required. I have not experimented in that area because it was a never a big issue to begin with. I'm unable to provide you with a more advanced take on the subject.

You're saying that bundle file size becomes too large, how large are we talking about here?. For our TesterApp, which isn't optimized at all for the main chunk filesize, it takes roughly 1,5 MB of diskspace.

Setting eager:false reduces the size in kb because react and react-native JavaScript code is excluded from the app.container.bundle file.
I think this is a significant difference when there's a need to load chunks at home.

from repack.

github-actions avatar github-actions commented on June 21, 2024

This issue has been marked as stale because it has been inactive for 30 days. Please update this issue or it will be automatically closed in 14 days.

from repack.

github-actions avatar github-actions commented on June 21, 2024

This issue has been automatically closed because it has been inactive for more than 14 days. Please reopen if you want to add more context.

from repack.

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.