transformer-oembed icon indicating copy to clipboard operation
transformer-oembed copied to clipboard

Can this work client-side?

Open TiborUdvari opened this issue 4 years ago • 3 comments

Is this intended to be able to work client side with components such as react-markdown? https://github.com/remarkjs/react-markdown

I'm trying to use it in a preview component for a blog writing component.

I'm getting this module dependency error, although, again, I'm not sure if it's intended to work as I'm expecting.

Module not found: Can't resolve 'dns'

TiborUdvari avatar Apr 12 '21 22:04 TiborUdvari

Oh, interesting. I hadn't thought about supporting the client side. I think what we need to do is dynamically import the make-fetch-happen and the url module if fetch/URL aren't already defined. Would you be willing to make that work?

kentcdodds avatar Apr 12 '21 23:04 kentcdodds

Has there been any progress on this?

NyakoFox avatar Oct 09 '23 01:10 NyakoFox

Nobody's working on it

kentcdodds avatar Oct 09 '23 01:10 kentcdodds

:tada: This issue has been resolved in version 5.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] avatar May 22 '24 17:05 github-actions[bot]