question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Proposal: Change native lib instead

See original GitHub issue

I’m hesitant to use this library as is because to a new developer this looks unnecessary:

arrayIncludes(arr, value)

and will likely attempt to change it to:

arr.includes(value)

which may even pass the tests and continue being less strict.

What do you think about offering additional entry points to change the global lib instead? I do this pattern to make some Promise types stricter for example: https://github.com/microsoft/TypeScript/issues/45602#issuecomment-934427206

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:2
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
privatenumbercommented, Oct 27, 2022
1reaction
fregantecommented, Aug 7, 2022

It’s literally less verbose than the current situation though 😃

Import object.entries once per project vs once per file.

I’m ok with the global to start though

Read more comments on GitHub >

github_iconTop Results From Across the Web

Proposal: Change the way of building native binaries · Issue #47 ...
Currently we are compiling both x64 and x86 libsass binaries (solution) build. This needs to change in such a way that we compile...
Read more >
How do I change the package name while including native ...
If using Eclipse, the proper way to rename the package is to do the following: Right click on project -> Android Tools ->...
Read more >
Proposal Writing Tips for Non-Native English Speakers
Proposals often require specialized language, providing a special challenge for non-native English speakers even though they may be very proficient in English. ...
Read more >
babel/preset-env
babel/preset-env` is a smart preset that allows you to use the latest JavaScript without needing to micromanage which syntax transforms (and optionally, ...
Read more >
The United States Government's Relationship with Native ...
A brief overview of relations between Native Americans and the United ... The Treaty of Ft. Laramie of 1868 "set apart for the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found