Phuoc
Phuoc
cool. that's even better actually. was wondering why the core functionality was not a separate lib instead of being tied to react.
It looks like this project is no longer maintained so perhaps you can take a look at [my library](https://github.com/universse/palettez) which supports this use case.
Can I use this in a Cloudflare project? It currently throws an error during build. ``` [commonjs--resolver] [plugin vite:resolve] Cannot bundle Node.js built-in "node:fs/promises" imported from "..\..\node_modules\.pnpm\@[email protected][email protected]_@[email protected][email protected]_\node_modules\@astrojs\mdx\dist\index.js". Consider disabling ssr.noExternal...
```js const { Content } = await entry.render() const descriptionHtml = await astroContainer.renderToString(Content) ``` I'm using Astro container to render `` to string and pass it to React component. I'm...
thanks. that works for now.
I'm making request to a 3rd party API using a custom `fetch` wrapper that throws any non-success response (`!response.ok`). The API returns a json response with status 403, which is...