Skip to content

Instantly share code, notes, and snippets.

@rotemmiz
rotemmiz / MyBridgedComponent.js
Last active October 3, 2016 22:49
Killing a webview bridge component
class MyBridgedComponent extends Component {
constructor(props) {
super(props);
this.state = {
isLoaded: false
};
}
onBridgeMessage(message) {
@rotemmiz
rotemmiz / F8 dumpsys meminfo.md
Last active November 11, 2016 23:18
React Native Memory Footprint Benchmarks
Applications Memory Usage (kB):
Uptime: 89089252 Realtime: 262050357

** MEMINFO in pid 712 [com.facebook.f8] **
                   Pss  Private  Private  Swapped     Heap     Heap     Heap
                 Total    Dirty    Clean    Dirty     Size    Alloc     Free
                ------   ------   ------   ------   ------   ------   ------
  Native Heap    28515    28372        0     1100    46208    41414     4793
  Dalvik Heap    45802    45476        0     7364    61380    55669     5711