GithubHelp home page GithubHelp logo

Comments (3)

alfonsogarciacaro avatar alfonsogarciacaro commented on June 3, 2024

Could you please have a look @forki?

from fable-react-native.

forki avatar forki commented on June 3, 2024

@fremontmj could you please send a PR?

from fable-react-native.

fremontmj avatar fremontmj commented on June 3, 2024

The only reason I know about this is because I have a nascent Expo project and was testing the web version (which uses react-native-web to make a compatibility layer to React in the browser), and got these errors:

/src/fable_modules/Fable.React.Native.3.0.0-alpha001/Fable.ReactNative.fs.js:1874:14
"export 'ImageEditor' was not found in 'react-native-web/dist/index'
  1872 | export function ImageEditor_cropImage(uri, cropData) {
  1873 |     return new Promise(((onSuccess, onError) => {
> 1874 |         void (ImageEditor.cropImage(uri, cropData.data, onSuccess, onError));
       |              ^
  1875 |     }));
  1876 | }
  1877 |
./src/fable_modules/Fable.React.Native.3.0.0-alpha001/Fable.ReactNative.fs.js:1801:14
"export 'ImageStore' was not found in 'react-native-web/dist/index'
  1799 | export function ImageStore_getBase64ForTag(uri) {
  1800 |     return new Promise(((onSuccess, onError) => {
> 1801 |         void (ImageStore.getBase64ForTag(uri, onSuccess, onError));
       |              ^
  1802 |     }));
  1803 | }
  1804 |
./src/fable_modules/Fable.React.Native.3.0.0-alpha001/Fable.ReactNative.fs.js:1807:14
"export 'ImageStore' was not found in 'react-native-web/dist/index'
  1805 | export function ImageStore_addImageFromBase64(imageData) {
  1806 |     return new Promise(((onSuccess, onError) => {
> 1807 |         void (ImageStore.addImageFromBase64(imageData, onSuccess, onError));
       |              ^
  1808 |     }));
  1809 | }

I then looked up those packages and saw they are no longer in the later React Native distributions (they're also not supported by react-native-web).

I would try to make a PR (though I'm a complete noob at these things), but I don't use either of these libraries, so I'd have no way to test it.

I'm sorry I don't think I can be of help.

from fable-react-native.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.