Hi
How about to mark fn functions with special marker so middleware will ignore other actions like redux-thunk actions?
I have problem with using tiles with thunk middleware. And i have no chance to rewrite existing thunk-based actions).
Example code
if (typeof action === 'function' && action[TILES_ACTION_FUNCTION] === true) {
return action({ dispatch, getState, promisesStorage, ...paramsToInject });
}
So you need to mark these functions in createTile method or something.
Thanks