when learning redux middleware, I found that there are two ways to write applyMiddleware, but this is the only one in official documents
const store = createStore (reducer, preloadedState, applyMiddleware (. Middleware)
but I saw this way of writing in other places
const store = applyMiddleware (.callilewares) (createStore) (reducer, initialState)
). I would like to ask you what kind of writing this is, the old way of writing or the old way of writing it?