FGRibreau / FGRibreau/match-when

Errors in Safari

Open
#27 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
524
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Using inside a React app, I can fix these errors by simply removing this library. It's also only present in Safari (`10.1`). Using TypeScript with `es2015` target in-case that's relevant.

Can't share the code but can try to create a small repro if it'd help/isn't immediately obvious.

Caught by my router upon entering page with this library in use: `ReferenceError: Can't find variable _catchAllSymbol`, leads to `match` function. (Can't seem to click into it... ugh Safari.)

Thrown by React: `TypeError: null is not an object (evaluating 'node[internalInstanceKey]')` at `ReactDOMComponentTree.js:113`

As I said, only this library and only Safari. Help appreciated, cheers!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.