Comments (2)
From our messages:
I think perhaps we may be able to avoid a JSON payload by sending along a header in the response like:
"MRUJS_URL" = "/url"
"MRUJS_ACTION" = "replace"
Which could then be executed by mrujs
on ajax:complete
if Turbo / Turbolinks is defined. and obviously we'll fill in the appropriate headers for Turbolinks as well.
from mrujs.
Headers dont persist. XmlHttpRequest could not follow redirects, fetch can. This is solved. Woo 🥳
from mrujs.
Related Issues (20)
- Add `only` and `except` keywords to `start()` to allow users to pick and choose what they want to use.
- Submitter is borked on Safari 15
- Type declarations aren't being emitted HOT 1
- (data-disable-with ) not working on form submit buttons HOT 1
- there was an error with mrujs.confirm HOT 6
- Enhancement of Mrujs in relation to Turbo
- Move turbo-specific code into Turbo plugin.
- Build a `data-ujs-confirm` similar to Sean's example
- Buttons should be able to define formmethod and formaction HOT 1
- Add Sean's glue code into Mrujs
- Document best practices for forms / buttons / etc
- Typescript type definition problem with `mrujs.start()` HOT 2
- Dispatching a "submit" event without detail: {} raises an error. HOT 4
- Is it possible to use mrujs without Turbo ? HOT 1
- Confirm:complete doesn't always fire on cancellation
- Cannot find module 'mrujs/plugins' or its corresponding type declarations. HOT 2
- mrujs website flashes when loading HOT 1
- Test issue HOT 1
- Add configuration option to disable DOM morphing HOT 7
- mrujs with importmap HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mrujs.