GithubHelp home page GithubHelp logo

Comments (2)

strothj avatar strothj commented on June 12, 2024

Hello,

I left an example explanation here:
#21

loaders: [ should be use: [ due to that use being deprecated. It's aliased per the explanation here:
https://webpack.js.org/configuration/module/#rule-loaders so I don't think that would affect it.

It looks like it should work but please double check against the linked pull request there. I'm not too familiar with that feature to be honest.

You'll want to use 'react-docgen-typescript-loader. react-docgen-typescript-webpack-plugin is an older implementation.

from react-docgen-typescript-loader.

nmackey avatar nmackey commented on June 12, 2024

So I'm seeing this same problem and it seems to be related to using other loaders with react-docgen-typescript-loader. I currently use ts-loader with thread-loader & cache-loader. With this setup the propFilter function doesn't seem to work. If I remove thread-loader & cache-loader the propFilter works fine. skipPropsWithoutDoc: true seems to work either way. I haven't tried using awesome-typescript-loader with this plugin yet but I'm guessing it could be the same issue as I know it can use caching as well. @strothj if you have any ideas on how to get propFilter working with the use of thread-loader & cache-loader let me know as they greatly increase compilation time.

from react-docgen-typescript-loader.

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.