Giter VIP home page Giter VIP logo

Comments (6)

jreyesr avatar jreyesr commented on June 20, 2024 1

The problem appears to be further upstream (i.e. not limited to this plugin, but it looks to me like it affects any plugin that programmatically makes requests, without the user clicking the Send button). I've opened an issue on Insomnia. You may want to keep an eye on it: Kong/insomnia#6512

from insomnia-plugin-batch-requests.

jreyesr avatar jreyesr commented on June 20, 2024

Hello @CC007, and thanks for the incredibly detailed issue report! That definitely looks like a bug, I'll check it out

from insomnia-plugin-batch-requests.

CC007 avatar CC007 commented on June 20, 2024

Yea, I also took a look at it and the network object from the context doesn't seem to trigger an update on the response history component. I'm not very familiar with React though, so I couldn't find how normal requests trigger this update. Maybe looking for the component with the send button could help show how to trigger the update.

from insomnia-plugin-batch-requests.

CC007 avatar CC007 commented on June 20, 2024

Would it be possible to manually trigger a page redraw after a batch request, as a workaround for now?

from insomnia-plugin-batch-requests.

jreyesr avatar jreyesr commented on June 20, 2024

I don't see a clean way of doing it, sadly. Plugins don't really have control over the page render, and since they operate outside of the React component model they can't force a component rerender by mutating some state.

from insomnia-plugin-batch-requests.

CC007 avatar CC007 commented on June 20, 2024

Well, let's hope that they fix their plugin API then.

from insomnia-plugin-batch-requests.

Related Issues (5)

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.