Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
story
0 points
XCSme
5y ago
0 comments
Share
Couldn't the `TouchableOpacity` component somehow be overwritten by the Heap HOC?
0 comments
default
newest
oldest
jmtaber129
5y ago
I'm not sure I totally understand your question. Could you elaborate?
nicoburns
5y 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.
XCSme
OP
5y ago
I was referring to monkey-patching, yes, just overwrite that function.
j
/
k
navigate · click thread line to collapse