kea v2.4.1 Release Notes
Release Date: 2021-05-17 // almost 3 years ago-
- ๐ Support passing
LogicType
tologic.extend<LogicType>()
- ๐ Fixed recursive
.exend()
. This works now:kea({ extend: [{ extend: [ ... ] }] })
) - ๐ฏ Please note that
logic.extend()
alters the existing logic. It does not clone nor inherit logic inputs. - To clone a logic, use
kea({ extend: [...otherLogic.inputs, { actions: {}, /* new stuff */ }] })
. Better API coming soon.
- ๐ Support passing