Hello there! We were trying to use pretext to measure text in a server component, but there doesn’t seem to be a straightforward way to do that? We’re using NextJS, have canvas installed, and just wanted to get some measurements done on the server side for pre-rendering.
Is there a straightforward way to measure text in the SSR context of a NextJS (or any SSR) application?
Hello there! We were trying to use pretext to measure text in a server component, but there doesn’t seem to be a straightforward way to do that? We’re using NextJS, have
canvasinstalled, and just wanted to get some measurements done on the server side for pre-rendering.Is there a straightforward way to measure text in the SSR context of a NextJS (or any SSR) application?