Skip to content

makeevrserg/MVIKotlin-Decompose-Plugin

Repository files navigation

MVIKotlin-Decompose-Plugin

MVIKotlin-Decompose-Plugin will help you to create Decompose components and MVIKotlin stores without wasting too much time

Found bug or need a new feature? Please submit a

Decompose/MVIKotlin template

Right-clicking on package will show additional dialog, with which you will be able to create Component or Store

Menu overview

(Click to expand) Creation menu

Create Decompose component

Here you can also make few configurations:

  • Choose an option to enable MVIKotlin integration, which will add store creation

This configuration will create following:

  • [Feat]Component - Decompose interface component with Model
  • Default[Feat]Component - Default component implementation with ComponentContext
(Click to expand) Decompose menu

Create MVIKotlin store

Here you can also make few configurations:

  • Option to create store package
  • Choose a Bootstrapper type
  • Option to use klibs.kdi Factory

This configuration will create following:

  • [Feat]Store - MVIKotlin store with State, Intent, Message, Label and Action if Bootstrapper was selected
  • [Feat]Executor - MVIKotlin CoroutineExecutor
  • [Feat]Reducer - MVIKotlin Reducer<State, Message>
  • [Feat]StoreFactory - Store factory with private inner implementation
  • [Feat]Bootstrapper - Store Bootstrapper if Custom bootstrapper option was selected
(Click to expand) MVIKotlin menu

See libraries

Gratitude