Skip to main content

Kea

// ๐Ÿฆœ Here is a complete example with all the options available.
const githubSearchLogic = kea<githubSearchLogicType>({
// core concepts
// ๐Ÿฆพ everything starts with an action
actions: { },
// ๐Ÿ”จ actions trigger listeners
listeners: { },
// ๐Ÿ“ฆ actions modify values stored in reducers
reducers: { },
// ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ selectors compute and memoize values
selectors: { },
// additional concepts
// connections, inheritance and extensions
// plugins
})