DEV Community

Discussion on: Using the Web Share API in React

Collapse
 
jzombie profile image
jzombie • Edited

Nice write-up!

This API is something that I want to use myself.

Couple of thoughts, use console.error / console.warn for errors / warnings, and provide onError (or equivalent) functionality so that the user knows if an error happened without having to have the console open.

Collapse
 
pmbanugo profile image
Peter Mbanugo

Thank you