EGOIST
EGOIST
well it seems next.js just ignores `onLoad` prop when the strategy is `beforeInteractive`, which is also ssr-ed, otherwise that script is created on the client-side only
https://stackblitz.com/edit/nextjs-wt4j8y?file=pages%2Findex.js maybe a bug then
the listener won't be triggered on hydration because we won't recreate the element to avoid loading it twice: https://github.com/vueuse/head/blob/5ef9b6225e6c70e18011c33fb77d67de11af0d26/src/index.ts#L198-L201 but maybe we call `newEl.onload` manually if `oldEl.onload` is `undefined`
hmm I think that should be implemented as a standalone `` component outside vueuse/head.
I got your point 👌
Yeah JSX is not yet supported by default, manually adding the vue jsx plugin via vite.config.ts might work tho.
Yeah I'm also thinking about this, will get my hands on it next week.
I had thought about some kind of query syntax like this: jobs.md ``` --- jobs: where: - page.job === true paginate: by: jobs segment: p perPage: 10 --- ``` The...
Maybe it's finally the time to consider GraphQL? 😅
I tried GraphQL again but there're too many restrictions, so here's my updated proposal for mongo-like query syntax: Query all pages: ```js export const data = { pages: { $query:...