Code Monkey home page Code Monkey logo

Comments (4)

Proyoyo avatar Proyoyo commented on June 14, 2024 1

Yeah this was auto generated by React Native when I first created the project.

from mobile.

keatongreve avatar keatongreve commented on June 14, 2024

Not a contributor (yet!) But there aren't any references to flow-bin itself, just some flow-related libraries. They are dependencies used for react-native development. Using yarn why can help here.

$ yarn why babel-plugin-syntax-flow
yarn why v1.5.1
[1/4] 🤔  Why do we have the module "babel-plugin-syntax-flow"...?
[2/4] 🚚  Initialising dependency graph...
[3/4] 🔍  Finding dependency...
[4/4] 🚡  Calculating file sizes...
=> Found "[email protected]"
info Reasons this module exists
   - "react-native#babel-plugin-transform-flow-strip-types" depends on it
   - Hoisted from "react-native#babel-plugin-transform-flow-strip-types#babel-plugin-syntax-flow"
   - Hoisted from "react-native#metro#babel-preset-react-native#babel-plugin-syntax-flow"
   - Hoisted from "react-native#fbjs-scripts#babel-preset-fbjs#babel-plugin-syntax-flow"
info Disk size without dependencies: "20kB"
info Disk size with unique dependencies: "20kB"
info Disk size with transitive dependencies: "20kB"
info Number of shared dependencies: 0
✨  Done in 0.56s.

$ yarn why babel-plugin-transform-flow-strip-types
yarn why v1.5.1
[1/4] 🤔  Why do we have the module "babel-plugin-transform-flow-strip-types"...?
[2/4] 🚚  Initialising dependency graph...
[3/4] 🔍  Finding dependency...
[4/4] 🚡  Calculating file sizes...
=> Found "[email protected]"
info Reasons this module exists
   - "react-native" depends on it
   - Hoisted from "react-native#babel-plugin-transform-flow-strip-types"
   - Hoisted from "react-native#metro#babel-preset-react-native#babel-plugin-transform-flow-strip-types"
   - Hoisted from "react-native#fbjs-scripts#babel-preset-fbjs#babel-plugin-transform-flow-strip-types"
info Disk size without dependencies: "20kB"
info Disk size with unique dependencies: "8.58MB"
info Disk size with transitive dependencies: "12.99MB"
info Number of shared dependencies: 4
✨  Done in 0.73s.
$ 

from mobile.

keatongreve avatar keatongreve commented on June 14, 2024

I did just notice they have a .flowconfig but I believe that's just generated by the RN project generator. I don't see any @flow or types in the code.

from mobile.

TrentBartlem avatar TrentBartlem commented on June 14, 2024

I guess the next question would be whether the project wants to use Flow, Typescript or whatever.

from mobile.

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.