LearnNewsExamplesServices
Frontmatter
number3394
titleMinimum Browser Requirements?
authorHLeithner
categoryQ&A
createdAtAug 18, 2022, 6:00 PM
updatedAtAug 19, 2022, 5:34 PM
closedOpen
closedAt
routingDispositionSchemaVersiondiscussion-routing-disposition.v1
routingDispositionundetermined
routingDispositionReasonuntrusted-or-unclassified-root-author
routingDispositionEvidence[]
contentTrust
projected
quarantined0
signals[]

Minimum Browser Requirements?

Q&AOpen
HLeithner
HLeithneropened on Aug 18, 2022, 6:00 PM
i wonder what the minimum browser versions of neo.mjs are? Unfortunately, I have not found anything about this in the documentation or in repo.
tobiu
tobiucommented on Aug 19, 2022, 10:38 AM

Hi Harald,

the browser supports looks pretty good at this point. neo is using 3 different modes:

  1. development => no transpilations or builds, just running the JS code as it is
  2. dist/development => webpack based build using source maps (you call this one the dev mode in e.g. react or angular)
  3. dist/production => minified webpack based build => this is the version you deploy

dedicated workers (Apps which run inside one browser window)
Environment Chromium Firefox Safari
development :white_check_mark: :white_check_mark:
dist/development :white_check_mark: :white_check_mark: :white_check_mark:
dist/production :white_check_mark: :white_check_mark: :white_check_mark:

shared workers (Apps which run inside multiple browser windows, e.g. multi screen)

Environment Chromium Firefox Safari
development :white_check_mark: :white_check_mark: *
dist/development :white_check_mark: :white_check_mark: :white_check_mark: *
dist/production :white_check_mark: :white_check_mark: :white_check_mark: *

Firefox is still lacking the support for JS modules inside the worker scope, which affects the neo development mode. The team is working on it: Ticket 1247687

The support for shared workers is already live inside the Safari Technology Preview version, so it should only be a matter of time before it gets shipped into the normal Safari.



Best regards, Tobias

HLeithnerreplied on Aug 19, 2022, 5:34 PM

Hi Tobias,

thanks for your reply. I already have seen this support tables. But it doesn't say anythig about Browser versions. I know neo.mjs requires ES8 but I didn't found which parts of ES8 and at least at caniuse is no clear answer to which browser version supports this standard completely.

Multi tab (shared workers) is not really relevant for my first project with neo.mjs, it's basically a map with a table and a bunch of filters. And I thought neo.mjs would fit really good on this topic. (I have seen your issue on mapbox-gl-js repo, which would be used).

regards,

Harald