日記

スライドツール

f:id:r7kamura:20170425014931p:plain
f:id:r7kamura:20170425014931p:plain

現況こんな感じ。文字伸縮のロジックが綺麗にまとめられた。

┌-State \<---------------┐ ┌---------- Reducer \<-┐ | | | | (current state) (next state) (next state) (current state + action) | | | | | | v | └---------------------\> ---------------------┘ Store ┌---------------------- \<-------------------┐ | ^ | | | | | | (current state) (action) (current state) (action) | | | | └-\> React Component ----┘ └---------\> Renderer -┘ | ^ | | (current state) (event) | | v | ipcRenderer

描画用プロセスの状態管理はこういう調子で上手くいっているので、メインプロセス側の状態管理も https://github.com/mhink/react-ionize で上手くモデル化できないか考えているところ。

PS4

f:id:r7kamura:20170425023114p:plain
f:id:r7kamura:20170425023114p:plain

PS4 で Amazon プライムビデオ観るの結構良い感じ。壁に映しっぱなしにしとくと作業机から観られるので便利。