Code Monkey home page Code Monkey logo

Comments (5)

ShenChang618 avatar ShenChang618 commented on July 29, 2024

@jackie-web 感谢提出问题😄,能给我一份可以复现的源码吗,我来测试下哈

from react-keep-alive.

Jackie-5 avatar Jackie-5 commented on July 29, 2024

上面的问题我只有在我自己项目下引用npm包后会报错,但是用你的demo去引就不会报错。不太清楚是哪里出的问题。我也在找原因。
还有另外的一个错误,如果把react-router-dom下的Link跳转包裹在
这里 就会发生报错。
例子
image
image

[email protected]
[email protected]

from react-keep-alive.

ShenChang618 avatar ShenChang618 commented on July 29, 2024

@jackie-web
image
试试把 Provider 放在 Router 组件里面。

from react-keep-alive.

Jackie-5 avatar Jackie-5 commented on July 29, 2024

放在里面可用用了。但是我一直没搞懂 我引用你的包 会报我第一次截图的那个错误,感觉好像引用方式出错了,但是完全找不到原因,我把你的包拉到项目里了引用就没问题~要不要我们加个联系方式?我给你演示看看。

from react-keep-alive.

ShenChang618 avatar ShenChang618 commented on July 29, 2024

@jackie-web 嗯嗯,加我微信吧 s2696922797c

from react-keep-alive.

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.