James Singleton

Results 29 comments of James Singleton

Yeah I just ran into this where I have an `&` in an Article title as well as the URL for images and it is resulting in the `&`

@garmeeh I know you had [mentioned that this might be an issue with react](https://twitter.com/garmeeh/status/1549821390186024960?s=20&t=5wXuhyNRFV5vEReZRA5joQ). However, I am able to do ```tsx ``` where content has URLs like `https://cdn.sanity.io/images/8pbt9f8w/production/4970237430aef6b6d4fe9d165d32d46ef2492bb7-1408x792.jpg?fit=min&auto=format` and doing...

@ianwensink I ended up just rolling my own solution

@ianwensink yup! So I just ended up doing ```tsx ``` And passed my own content to `JSON.stringify()`... I mean if you are sanitizing/escaping stuff then it isn't so dangerous 😅...

HI @jpdriver, I have created one https://codesandbox.io/s/billowing-fire-yf059?file=/docs/intro.md. So if you go into the `docs/intro` you will see a `jsx live`. Currently I am wrapping it with a ThemeProvider, I would...

@aress31 I am right there with you... I just noticed this adds about 103 KB to my Next.js page which ended up being a little over half the page size.

@4lejandrito have you tried tested this in an actual deployment? It looks good to me.

@carlosjunod nope... I think it is due to updated versions somewhere, not entirely sure... It is a real big issue among the GraphQL/Apollo community where new versions of dependencies break...

I believe this is because of ```ts url.pathname = `/_sites/${currentHost}${url.pathname}`; ``` inside of `middleware.ts`. The `url.pathname` includes a `/` so the pathname ends being something like `pathname: '/_sites//fcs'` and that...

@dstotijn doing that for me broke images loading in Next.js' Image component