---
# System prepended metadata

title: Common Guidelines With Kizuna UI
tags: [Kizuna-architecture]

---

# Common Guidelines With Kizuna UI
###### tags: `Kizuna-architecture`

Last updated date: May 26, 2021
(Please change this date if you will change any part of the document)


* Decide one formatting in ui
* MVC (TBD if MVC is the most suited for HC) should be followed
  * Model - Holochain node
  * Controller - Redux with Zome fn
  * View - Ionic with React
![](https://i.imgur.com/0VqtMo2.png)


* Serialization/Deserialization of various hashes from HC
  * use [these](https://github.com/holochain-open-dev/core-types/blob/main/src/utils.ts#L5-#L11) to Serialize and Deserialize any Hash coming from HC
  * DO NOT DESERIALIZE OR SERIALIZE IN THE COMPONENTS. All serde should be done in the redux actions.

* `AgentPubKey`
  * Right now, we are using `AgentPubKey` type (Buffer) from `@holochain/conductor-api` to get own AgentPubKey
    * A little bit of concern here as it is a bit tedious to convert from string to Buffer and vice versa
  * conductor-api should use Uint8Array not Buffer!!

* `let` or `const`?