Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (16 sloc) 613 Bytes

Upgrade from 4.x to 5.0.0

Previously, the promiseTypeSeparator config property was used to change the character used to join type strings.

Now, the promiseTypeDelimiter config property is used. Why? Because delimiters are one or more characters used to specify the boundaries in strings. It’s s delimiter, not a separator!

applyMiddleware(
  promiseMiddleware({
    promiseTypeDelimiter: '/'
  })
)

With this configuration, given FOO async action, the type will be appended with a forward slash / delimiter.

{
  type: 'FOO/PENDING'
}
You can’t perform that action at this time.