After upgrading from 1.11 to 1.12, Internet Explorer 11 crashes on loading our app in the dynamic-load package with a syntax error at dynamic-import (521,18).
Downgrading to 1.11 makes it work again.
Not sure yet what the root cause is - will investigate further. I couldn’t see any major changes in the dynamic-import package so maybe it’s a babel thing?
function prefetchInChunks(modules, amount) {
Promise.all(modules.splice(0, amount).map(function (id) {
return new Promise(function (resolve, reject) {
module.prefetch(id).then(resolve).catch(
(err) => {
// we probably have a : _ mismatch
// what can get wrong if we do the replacement
// 1. a package with a name like a_b:package will not resolve
// 2. someone falsely imports a_package that does not exist but a
// package a:package exists, so this one gets imported and its usage
// will fail
if (id.indexOf(METEOR_PREFIX) === 0) {
module.prefetch(
METEOR_PREFIX + id.replace(METEOR_PREFIX, '').replace('_', ':')
).then(resolve).catch(reject);
} else {
reject(err);
}
})
});
})).then(function () {
if (modules.length > 0) {
setTimeout(function () {
prefetchInChunks(modules, amount);
}, 0);
}
});
}
we managed to convince a customer to no longer support the Internet explorer. Supporting the IE means investing in its preservation.
also i don’t think that “corporate users” are to blame: i noticed that most bigger corporate already have alternatives installed for their users. Some just don’t know better and still use this legacy browser.
best thing you can do is to just not support it anymore.
We should be encouraging adoption of Meteor that either operates in corporates, or companies that build on Meteor that sell to corporates. We shouldn’t ostracize customers/users based on their browser preferences or requirements.
This is also an issue on the Samsung Browser (identified as legacy) on my phone I can browse my project on Chrome mobile but not with the Samsung browser which is the default browser on most Samsung phones.