top | item 31374302

(no title)

ReactNative22 | 3 years ago

Thanks Chris, you are awesome - this is definitely a much better approach since it gets rid of an additional Link Component

discuss

order

chrismorgan|3 years ago

I 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.