8 ms·
Thanks Chris, you are awesome - this is definitely a much better approach since it gets rid of an additional Link Component
by ReactNative22 4y ago
Thanks Chris, you are awesome - this is definitely a much better approach since it gets rid of an additional Link Component
- chrismorgan 4y agoI do think, though, that woojoo666’s comment and my response are worth bearing in mind. In this specific situation, I think <Link> is not warranted and mildly better avoided; but in a similar situation where global behaviour wasn’t already forced, I would say to keep the separate component, rather than breaking behavioural encapsulation.
- ReactNative22 4y agoThank you, I agree