Open
Description
What problem does this feature solve?
trailing { root: true }
object is verbose and spoils code style
What does the proposed API look like?
dispatch('api/foo', {
bar: 'buz',
quz: 'qux',
}, { root: true }) // ugly trailing options object
// leading slash makes it look better
dispatch('/api/foo', {
bar: 'buz',
quz: 'qux',
});