I currently have an Activity that when it gets displayed a Notification will also get displayed in the Notification bar. This is so that when the User presses home...
How can I make the onKeyPress event work in ReactJS? It should alert when enter (keyCode=13) is pressed. var Test = React.createClass({ add: function(event){ if(event.keyCode == 13){ alert('Adding....'); }...