Coder Social home page Coder Social logo

Comments (6)

tannerlinsley avatar tannerlinsley commented on May 5, 2024

from location.

JoshuaAmaju avatar JoshuaAmaju commented on May 5, 2024

This might be related to the issue I've been having in trying to integrate React Location with React Native. Hopeful the fix should solve that for me.

from location.

larsvankleef avatar larsvankleef commented on May 5, 2024

Don't know if this is related, but when showing the pendingElement and the request fails or takes longer than the timeout time set in the router, the pendingElement stays visible. Instead of the errorElement of the defaultErrorElement

from location.

fetters5 avatar fetters5 commented on May 5, 2024

If instead of throwing you return a promise rejection it works the first time. I cannot get even this to work in the sandbox though.

In my case my bad router is"/bad" and the first time I go to "/bad" it will respond with the error element, if I go to another route and try to go back to "/bad" it will just hang as if in a pending state

from location.

fetters5 avatar fetters5 commented on May 5, 2024

@tannerlinsley I narrowed the issue down to a rejectLoader call and submitted a PR, if I am way off base let me know but this fixed my issues with error elements

from location.

tannerlinsley avatar tannerlinsley commented on May 5, 2024

Should be fixed!

from location.

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.