Giter Site home page Giter Site logo

Comments (9)

FallOutChonny avatar FallOutChonny commented on May 28, 2024

Hello,
what error message does your developer tool or terminal display?

from react-starter-boilerplate.

kg-dogg avatar kg-dogg commented on May 28, 2024

no errors, just only build vendor.js & main.js, should have Home.bundle.js,but there was not

from react-starter-boilerplate.

kg-dogg avatar kg-dogg commented on May 28, 2024
File sizes after gzip:

  110.34 KB  build/static/js/vendor.0a55a11c.js
  25.95 KB   build/static/css/vendor.47412f9f.css
  9.16 KB    build/static/js/main.cd1e28b2.js

It's my build report

from react-starter-boilerplate.

kg-dogg avatar kg-dogg commented on May 28, 2024

The home.js should built independence, but it's still in my main.js. I don't know why, plz help, thx

Image of Yaktocat

from react-starter-boilerplate.

kg-dogg avatar kg-dogg commented on May 28, 2024

Anyway, I just wanna make code-splitting worked. Could I have some example, like how to create a route with async load component?

from react-starter-boilerplate.

FallOutChonny avatar FallOutChonny commented on May 28, 2024

After my test, your code splitting code is correct.
but currently react-loadable looks like not working, it's a bug, i will fix it as soon as I can, sorry.

If you want to create a route with async load, you can take a look NotFound in containers folder, and I know this module is too simple, this project is still WIP, I'll add some examples as soon as possible, such as redux, redux-saga with async load.

Very thanks for your using and feedback.

from react-starter-boilerplate.

kg-dogg avatar kg-dogg commented on May 28, 2024

And thank you for your help, your project is most awesome starter that I've ever seen!

from react-starter-boilerplate.

FallOutChonny avatar FallOutChonny commented on May 28, 2024

I have resolved this issue, react-loadable should work now, sorry take a very long time.
If you still watching and have free time, can you pull the latest code and test it fixed?
I'm grateful.

from react-starter-boilerplate.

FallOutChonny avatar FallOutChonny commented on May 28, 2024

Closing because is resolved

from react-starter-boilerplate.

Related Issues (5)

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.