Y
Hacker News
new
|
ask
|
show
|
jobs
by
XCSme
2175 days ago
Couldn't the `TouchableOpacity` component somehow be overwritten by the Heap HOC?
1 comments
jmtaber129
2175 days ago
I'm not sure I totally understand your question. Could you elaborate?
link
nicoburns
2175 days ago
I think they're suggesting something hooking into webpack to override all imports of TouchableOpacity with your version. Or you could even monkey patch it in at runtime.
link
XCSme
2174 days ago
I was referring to monkey-patching, yes, just overwrite that function.
link