Giter VIP home page Giter VIP logo

Comments (13)

ItsAsbreuk avatar ItsAsbreuk commented on June 26, 2024

where fetchCSS=false not applies to the childmojits that haven't been loaded yet - of coarse..

from mojito.

drewfish avatar drewfish commented on June 26, 2024

I think mojito should be smart enough to not reload a CSS asset that has already been loaded on the page.

from mojito.

ItsAsbreuk avatar ItsAsbreuk commented on June 26, 2024

i agree. just keep in mind that we can do a refreshView with param-options where the param-options make the controller to serve different assets. so the logic should track css-files instead of mojits-actions.

from mojito.

caridy avatar caridy commented on June 26, 2024

@ItsAsbreuk, are you using shaker?

from mojito.

ItsAsbreuk avatar ItsAsbreuk commented on June 26, 2024

@caridy no not for these current projects
(i will activate shaker in a couple of week though)

from mojito.

ItsAsbreuk avatar ItsAsbreuk commented on June 26, 2024

Here is a screenshot of my system:

http://projects.itsasbreuk.nl/screenshot.jpg

In the jpg-image you see in the inspector that index.css is loaded twice.
(which i can confirm when inspecting the actual html)

from mojito.

caridy avatar caridy commented on June 26, 2024

alright, let's get this fixed. @ItsAsbreuk if you can provide a very basic repro case, that will be awesome.

/cc @lzhan can you investigate more about this?

from mojito.

ItsAsbreuk avatar ItsAsbreuk commented on June 26, 2024

Yeah sure
I can build a repo this weekend.
Let you know.

from mojito.

lzhan avatar lzhan commented on June 26, 2024

@caridy @ItsAsbreuk I will work on it.

from mojito.

lzhan avatar lzhan commented on June 26, 2024

@ItsAsbreuk @caridy I can reproduce this with our existing test app.

from mojito.

caridy avatar caridy commented on June 26, 2024

@lzhan was this fixed?

from mojito.

lzhan avatar lzhan commented on June 26, 2024

The pull request with solution is closed. Long term solution needs to be discussed.

from mojito.

caridy avatar caridy commented on June 26, 2024

Ok, I will close this one, and you can open a new issue for the long term solution.

from mojito.

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.