Shopify / shopify-app-template-remix

350 stars 147 forks source link

Add customLink prop to the app provider to set custom Remix Link #486

Open blanklob opened 9 months ago

blanklob commented 9 months ago

Issue summary

https://www.loom.com/share/dd7acddb992548a18760bc88c6fef3fd?sid=1e2316f7-9c28-4c99-a71e-c43b0463aaaa

// Paste any relevant logs here

Expected behavior

Actual behavior

Steps to reproduce the problem

1. 1. 1.

lizkenyon commented 9 months ago

Hi there 👋

Thanks for reaching out! The team review and look into this!

The loom is super helpful! If possible could you add in writing, the use case you would use this for. That would also be super helpful! (Just so we can quickly skim this without having to watch the video each time.) 😄

blanklob commented 9 months ago

in nutshell add ability to do add custom link component like we do with Polaris provider, coz we wanna access more state.

<AppProvider apiKey={apiKey} customLink={<NavLink />}...</AppProvider>