Earlier quoted context omitted.
Yes, this is an example of government design systems, which are becoming popular among developed countries: - The UK: https://design-system.service.gov.uk/ - The US: https://designsystem.digital.gov/ - Canada: https://www.canada.ca/en/government/about/design-system.html - Argentina: https://argob.github.io/poncho/ - Italy: https://designers.italia.it/ - Singapore: https://www.designsystem.tech.gov.sg/ - Estonia: http…
I'm afraid there won't be anything like that in Germany any time soon.
The impact of removing jQuery on our web performance
271–280 of 283 posts
Re: The impact of removing jQuery on our web performance
#272Earlier quoted context omitted.
The folks who pay developers get what they pay for. Management sets priorities, not developers.
I don’t buy that at all. There is a world of difference between poor performance due to low prioritization and lying about it.
That’s my point.
Re: The impact of removing jQuery on our web performance
#273Earlier quoted context omitted.
There's a JS library called New Stuff? For me, I use Jquery because it works. Light and low impact. Syntax is good for readability.
jQuery has its own syntax?
Re: The impact of removing jQuery on our web performance
#274Earlier quoted context omitted.
Have browsers always done this? I thought and heard that using a JS library from CDN is beneficial when users already have that same cached JS library from visiting other sites. But you're saying that's not a thing? So what's the benefit of using a CDN for jquery then?
Safari has done it for a long time, Chrome and the others more recently. Even back in 2012 people were raising the question of whether shared caching of libraries from the public JS CDNs was effective — due to too many different versions in use, and content being evicted from the browser cache sooner than most expected
Re: The impact of removing jQuery on our web performance
#275Earlier quoted context omitted.
jQuery has its own syntax?
https://www.w3schools.com/jquery/jquery_syntax.asp
Re: The impact of removing jQuery on our web performance
#276Earlier quoted context omitted.
Try new stuff every once in a while. You might be surprised
Try old stuff every once in a while. They still work. You might be surprised.
I have worked with these technologies professionally:
- Vanilla js targeting ie5+
- jQuery
- MooTools
- Angular
- KnockoutJS
- virtual-dom
- React
- Typescript
I've also tried out a handful more in my spare time, like Vue, Preact, and Elm.
If your list does not include any modern stuff, then your opinion is worth zero to me, because your reference for what's good is horribly outdated. If your list matches or exceeds mine, and you still prefer jQuery, then I'll be bewildered but at least your opinion is interesting.
Re: The impact of removing jQuery on our web performance
#277Earlier quoted context omitted.
12 seconds down to 9 seconds is not negligible. What is negligible is 12 down to 11.999 seconds because you prematurely optimized. And even for "normal" users, shaving milliseconds matter. The general idea is that a UI should respond within 100ms to feel instantaneous. More than 1s and you interrupt the flow of thought. According to Google research, increasing page load time from 1s to 3s increases bounce rate by 32%…
Has anyone been able to reproduce this "Google Research" that is so often quoted? They have numbers related to conversion too. I know I'm sounding doubtful but bringing response time down a second or so isn't a magic potion for more money pouring in the door. Not that anyone should ignore performance. It's irresponsible to ignore perf. I just know from experience, when buying something on Black Friday at Amazon, if t…
He and Richard P. Kelisky, Director of Computing Systems for IBM's Research Division, wrote about their observations in 1979, "...each second of system response degradation leads to a similar degradation added to the user's time for the following [command]. This phenomenon seems to be related to an individual's attention span. The traditional model of a person thinking after each system response appears to be inaccurate. Instead, people seem to have a sequence of actions in mind, contained in a short-term mental memory buffer. Increases in SRT [system response time] seem to disrupt the thought processes, and this may result in having to rethink the sequence of actions to be continued."
“The Economic Value of Rapid Response Time”
https://jlelliotton.blogspot.com/p/the-economic-value-of-rap...
Re: The impact of removing jQuery on our web performance
#278Earlier quoted context omitted.
Austria: https://design.austria.info/en/design-system/
Of all the examples in this thread, this is the only one that isn't a plain HTML page, but rather a pile of javascript that takes several seconds to load and shows nothing but an "enable javascript" banner without JS. Despicable, but also absolutely typical. Edit: alright, CZ, UA and RU further down the thread are the same, I just hadn't gotten to those yet. Still, absolutely unacceptable for a government design stan…
> Promotion of Austria as a holiday destination.
There is a corporate design guide available [0] but from what I can tell it's more of a guide for "everything" not just websites.
[0]: https://www.bundeskanzleramt.gv.at/service/corporate-design....
Re: The impact of removing jQuery on our web performance
#279Earlier quoted context omitted.
https://www.w3schools.com/jquery/jquery_syntax.asp
That's the API. Syntax is something completely different: https://en.wikipedia.org/wiki/Syntax_%28programming_language...
Re: The impact of removing jQuery on our web performance
#280Earlier quoted context omitted.
OT note: sel.onclick=e=>{} works just fine. https://jsfiddle.net/39h5ynga/
But only if you (and any libs you use) only plan on adding 1 click handler to an element. That's why I always opt for the addEventListener/on style vs setting the onclick/ondblclick/etc handlers.
This approach seems the funniest: https://jsfiddle.net/eu60Lwv9/