Rom

Results 732 comments of Rom

I can't see a concrete use case for this. What's your architecture that explains your wish to call `guard()` **always and only** on the client-side?

https://vike.dev/guard now contains information about where and when `guard()` is called, and how to control this. It may (or may not) address the issues of OP, let me know whether...

@tszyan The docs were incorrect and I updated them: https://github.com/vikejs/vike/commit/b675e8139b5150bac358129a3c527a0f8a30cae8. I believe the use cases are covered by Vike's design, as well as now documented (atlhough there is room for...

:+1: - The `crypto` module should only be loaded if needed, and by using [`@brillout/import`](https://github.com/brillout/import) to avoid `crypto` from being bundled by bundlers. - What's wrong with using `Math.random()` instead?...

- :+1: Good to know, how about adding a comment about this in the code? - I think we need to add the `nonce` to all other `` tags? -...

@branberry Are you still up for this? Let's re-open if you are (or someone else). Looking forward to it!

Also: https://github.com/vikejs/vike/discussions/1919#discussioncomment-11042864

I feel like there is potential for a low-level API that enables all this and more. In principle, if the user can modify: 1. The behavior upon navigation (link click...

Currently, you always have to set `prerender: true` to deploy to static hosts. In other words, you'll be generating a `.html` file for each URL. Does that work for you?...

> But it is still not clear how I would achieve that with Vike, because if I turn prerendering on for the SPA I get tonns of errors, which is...