Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify ArrayBufferView check #702

Closed

Conversation

drarmstr
Copy link
Contributor

Summary:
Simplify the ArrayBufferView check by using ArrayBuffer.isView() which should be supported on all browsers.

Try to avoid breaking React Native...

Differential Revision: D24655610

drarmstr and others added 5 commits October 30, 2020 12:19
Summary: Fix the `Loadable` export for TypeScript, which was broken in D24281676 (facebookexperimental@0851dc6).

Differential Revision: D24653590

fbshipit-source-id: 4dca505684da846b8c74ea548a283b0f6906cfa2
Summary: Various fixes for some Flow errors in OSS build.

Differential Revision: D24642676

fbshipit-source-id: dbc88a037199fdc64dbaa220ab375ec36a039296
Summary:
OSS build CI was failing due to eslint and flowtype.

I've made some fixes to have CI pass for OSS repo.

cc drarmstr

Pull Request resolved: facebookexperimental#692

Differential Revision: D24654484

Pulled By: drarmstr

fbshipit-source-id: 36d75d1c40a5afd22ee6e8469b6e536eba16d93d
Summary: Bump version to 0.1.2 for TypeScript fix

Differential Revision: D24655028

fbshipit-source-id: d02fa1dfbfde2ff8e521e321c37b751a21506fd6
Summary:
Simplify the `ArrayBufferView` check by using [ArrayBuffer.isView()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/isView) which should be supported on all browsers.

Try to avoid breaking React Native...

Differential Revision: D24655610

fbshipit-source-id: 773085ad4aa5f427cb3bc03c73d9004530396424
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels Oct 30, 2020
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D24655610

@drarmstr drarmstr self-assigned this Oct 30, 2020
@EricPKerr
Copy link

Polyfill if needed: jvilk/BrowserFS#193 (comment)

@drarmstr
Copy link
Contributor Author

Polyfill if needed: jvilk/BrowserFS#193 (comment)

Thanks for the link if anyone needs it. Coverage looks pretty decent now:
image

@drarmstr drarmstr deleted the export-D24655610 branch November 10, 2020 06:07
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 50a911e.

AlexGuz23 pushed a commit to AlexGuz23/Recoil that referenced this pull request Nov 3, 2022
Summary:
Pull Request resolved: facebookexperimental/Recoil#702

Simplify the `ArrayBufferView` check by using [ArrayBuffer.isView()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/isView) which should be supported on all browsers.

Try to avoid breaking React Native...

Reviewed By: davidmccabe

Differential Revision: D24655610

fbshipit-source-id: 52f105a7b3aefeaef79c1c25ed390cc7c730418a
snipershooter0701 pushed a commit to snipershooter0701/Recoil that referenced this pull request Mar 5, 2023
Summary:
Pull Request resolved: facebookexperimental/Recoil#702

Simplify the `ArrayBufferView` check by using [ArrayBuffer.isView()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/isView) which should be supported on all browsers.

Try to avoid breaking React Native...

Reviewed By: davidmccabe

Differential Revision: D24655610

fbshipit-source-id: 52f105a7b3aefeaef79c1c25ed390cc7c730418a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants