Fork me on GitHub
Petrus Theron10:02:09

Hey peeps. Using Reagent with React Native and I'm seeing keyboard input being dropped when typing fast on simulator or real device. So e.g.

(defonce !input (atom "")) ;; outside

(defn some-view [props]
         {:value       @!input
          :onChangeText #(reset! !input %)
What am I doing wrong? I've tried to listen for :onSubmitEditing, but that only fires when you tap return on keyboard. Do I need to tell it when to re-render with shouldComponentUpdate?


this atom is a reagent/atom @petrus?