Giter Club home page Giter Club logo

Comments (6)

oliviertassinari avatar oliviertassinari commented on May 10, 2024

One workaround would be to explicitlty export the View propTypes.
But I don't think that I have enough information to dig into it. Sorry.

from babel-plugin-transform-react-remove-prop-types.

necolas avatar necolas commented on May 10, 2024

Yes there are workarounds. However, I would expect these propTypes to be removed. What other information do you need?

from babel-plugin-transform-react-remove-prop-types.

oliviertassinari avatar oliviertassinari commented on May 10, 2024

What other information do you need?

I would need a reproduction test case.

The propTypes identification logic is right here.
I'm wondering what could mess it.
Could you have a look at the logic checks? That may help.

from babel-plugin-transform-react-remove-prop-types.

oliviertassinari avatar oliviertassinari commented on May 10, 2024

I'm closing this issue as missing a reproduction test case. If you can find one, please go ahead.
Any help to improve this plugin is welcomed πŸ‘ . Thanks.

from babel-plugin-transform-react-remove-prop-types.

necolas avatar necolas commented on May 10, 2024

Sorry I haven't gotten around to it yet :/
Perhaps this is something that can be rolled into the react preset if you haven't the time?

from babel-plugin-transform-react-remove-prop-types.

oliviertassinari avatar oliviertassinari commented on May 10, 2024

Perhaps this is something that can be rolled into the react preset if you haven't the time?

I'm not sure to understand. How is this linked to time? IMHO, it's a matter of information, I don't have enough to have leverage.

from babel-plugin-transform-react-remove-prop-types.

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.