Hofer Ivan

Results 97 comments of Hofer Ivan

@ota-meshi what about using `trimLeft()` here: https://github.com/ota-meshi/svelte/blob/use-trim-right/src/compiler/compile/render_ssr/index.ts#L231?

Tests are failing with following error: `ReferenceError: HTMLElement is not defined` _edited_ Is this whole `if` block just to make the tests pass? Or is there also another reason behind...

> Note that `Object.create(null)` is not the same as `{}`: [stackoverflow.com/questions/15518328/is-creating-js-object-with-object-createnull-the-same-as](https://stackoverflow.com/questions/15518328/is-creating-js-object-with-object-createnull-the-same-as) TIL. I wasn't aware of that difference. Thanks for posting the SO link!

I have updated the size chart above. The bundle size is 20 bytes less then the current master branch. Not that much, but something ^^. By using `{}` instead of...

Great idea! Do you plan to support also other syntaxes? Maybe in a generic way so someone could hook into parts of `svelte-intl-precomile` where the transformation takes place. I'm working...

Cool 😎. I'm looking forward for your addition of the Fluent syntax and the resulting changes to this library.

I'm currently using [svelte-htm](https://github.com/kenoxa/svelte-htm) and it works well 👍

@davipon it worked fine until we upgraded our dependencies a few weeks back. Now we use [`patch-package`](https://github.com/ds300/patch-package) to work around the issue. Changing `parent_component.$$.root` to `parent_component?.$$.root` will not have any...

As far as I know `hooks.ts` will run on each request. Regarding `+layout.server.ts`, please take a look at the official SvelteKit docs: https://kit.svelte.dev/docs/load#invalidation. I would assume you can prevent this...