Integrating react-native into a meteor js project?

  • 0
    Hello! There was a problem with installing the react-native package in the meteor.js project, or rather with reading the react-native js files. Meteor swears at the syntax without brackets in a lot of library files, however, the react and react-dom packages are installed and work without problems.

    js file node_modules \ react-native \ Libraries \ NativeModules \ specs \ NativeSourceCode.js

     * Copyright (c) Facebook, Inc. and its affiliates.
     * This source code is licensed under the MIT license found in the
     * LICENSE file in the root directory of this source tree.
     * @flow strict-local
     * @format
    'use strict';
    import type {TurboModule} from '../../TurboModule/RCTExport';
    import * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';
    export interface Spec extends TurboModule {
      +getConstants: () => {|
        scriptURL: string,
    export default (TurboModuleRegistry.getEnforcing<Spec>('SourceCode'): Spec);

    Please explain what the problem is?
    JavaScript Anonymous, Nov 16, 2020

  • 0 Answers
Your Answer
To place the code, please use CodePen or similar tool. Thanks you!