Albert Marashi

Results 225 comments of Albert Marashi

+1 would like support for variable fonts

Getting weird bugs if users vote on stuff simulatanously

Posting here from my discussion (#11042) and issue (#11101) as I was not aware that this existed. I've come up with an approach that should work with Svelte's new `+server.ts`...

@jhwz the problem is when you introduce params the typing for paths becomes complex and typescript does not have regex-based strings. I think it makes more sense to pass in...

> @Lootwig Do you mean this usage for the style question? > > ``` > route('/(app)/posts/[postId]/edit', > { > routeId: , > params: { > postId: 'whatever' > } >...

Looks like they are just hashing the file path. I'll have a look as to how this may be implemented in svelte

Using https://www.npmjs.com/package/hash-sum They are using the loader/compiler `request` URL instead of the filepath ```js const hash = require('hash-sum') module.exports = function(source, map) { //svelte-loader const { request } = this...

PR would solve this issue, and enable the feature, ~~but it must be integrated to svelte-loader too~~ **EDIT**: PR solves the issue & does not need to be implemented in...

@Rich-Harris would it be appropriate to have some sort of `serverPrefetch()` function like VueJS inside components to do async data grabbing and provide state to the component

@JulienPradet I agree with you, I would prefer something that handles `{#await}` without the streaming approach. It wouldn't make sense as components contain their own head and CSS, and you...