资源算法react-native-url-polyfill

react-native-url-polyfill

2019-12-26 | |  38 |   0 |   0

React Native URL Polyfill

A light and trustworthy URL polyfill for React Native

   Current npm package version.        Current CircleCI build status.        PRs welcome!        React Native URL Polyfill is released under the MIT license.  


react-native-url-polyfill is a full implementation of the WHATWG URL Standard that has been optimized for React Native.

  • Trustworthy. Follows closely the URL Standard spec, and relys on unit tests and Detox e2e tests within React Native.

  • Light. Instead of using directly whatwg-url, this polyfill uses a forked version (whatwg-url-without-unicode) where unicode support has been stripped out — Going down from 361 KB to 54 KB.

  • Blob support. Supports React Native's Blob without additional steps.

Why do we need this?

React Native does include a polyfill for URL, but this polyfill is homemade — in order to keep it light-weight — and was initially created to handle specific use cases.

Meanwhile, React Native has grown around that polyfill, then some unexpected errors have arisen.

Known issues (non-exhaustive) with React Native's URL are:

Unfortunately, adding react-native-url-polyfill to React Native source code will means adding

上一篇:url-search-params-polyfill

下一篇:korgi

用户评价
全部评价

热门资源

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • shih-styletransfer

    shih-styletransfer Code from Style Transfer ...