version
What I do
I use reagent.core/create-class to create a Component Class with some React Native UI Component, including TextInput. And the render state is reagent own, which is .-cljsState.It works correctly with English, but I can input Chinese. This is the code snippet:
(defn page []
(r/create-class
{:get-initial-state (fn [this]
(set! (.-state this) {:search ""}))
:render (fn [this]
[:> rn/View
[:> rn/TextInput {:placeholder "Search"
:getInitialState (fn [this]
(set! (.-state this) {:search ""}))
:onChangeText #(reset! (.-cljsState this) {:search %})
:value (:search @(.-cljsState this))}]])}))