That's one aspect I really love about macOS. I'm from a small country so nearly no one makes hardware with our exact layout, but with macOS I can always just long press to fill in the gaps. I just wish all apps used native inputs, not some weird half-baked solution they built themselves.
I rarely miss Linux, but I liked being able to have compose keys, most of which were very logical and fast to type. Now on MacOS, I either have to know the option (alt) combination or long press, which makes my writing with accents way slower.
If you frequently write the same characters, it's straightforward to create your own keyboard layout that matches your usage, using https://software.sil.org/ukelele/
My favorite Linux layout was US International + AltGr dead keys. Basically a US keyboard, but if you want an accented character, just press the AltGr+Accent key, then the letter.
Same with image viewers on the web. Google, twitter, imgur, and others seem hell bent on making the shittiest possible zoom and pan implementations to look at images.