Comments (13)
where fetchCSS=false not applies to the childmojits that haven't been loaded yet - of coarse..
from mojito.
I think mojito should be smart enough to not reload a CSS asset that has already been loaded on the page.
from mojito.
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.
@ItsAsbreuk, are you using shaker
?
from mojito.
@caridy no not for these current projects
(i will activate shaker in a couple of week though)
from mojito.
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.
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.
Yeah sure
I can build a repo this weekend.
Let you know.
from mojito.
@caridy @ItsAsbreuk I will work on it.
from mojito.
@ItsAsbreuk @caridy I can reproduce this with our existing test app.
from mojito.
@lzhan was this fixed?
from mojito.
The pull request with solution is closed. Long term solution needs to be discussed.
from mojito.
Ok, I will close this one, and you can open a new issue for the long term solution.
from mojito.
Related Issues (20)
- Request for mojito-cli creating templates using Promises HOT 10
- ac.partial.render() throws error for handlebar custom helper HOT 14
- Featurerequest: reviver-method for params.getFromBody-bodyparsing json stringified requests HOT 1
- mojito test crashes when require() is used HOT 2
- escape comboBase will cause some combo handler stop working HOT 3
- On middleware registration, pass in the `mojito` object HOT 13
- custom yui module invisible in test HOT 1
- [docs] mojitProxy.invoke() HOT 1
- For some reason I have obtained this issue when i run mojito on windows HOT 2
- Exception on mp.destroyChildren() when used again after refreshView()
- mojito crash when page is reloaded and a mojit invoke() is in progress HOT 1
- Static context not reflected in request's context HOT 4
- ac.error() sends an empty response to binder HOT 1
- Routes exposed to the client HOT 2
- after ac.cookie.set() ac.cookie.get() returns "undefined" - bug? HOT 3
- Error : During Dynamic mojit creation HOT 1
- Load custom template view in ac.composite.execute HOT 3
- `mojito start` not working HOT 4
- Switch "express-state" internal module require()
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mojito.