Elliott Johnson

Results 129 comments of Elliott Johnson

@pixelmund Yep, that algorithm should be fine. One last question. Is the hook expecting to infinitely increment the secret ID, or is there a point at which it would be...

> @dummdidumm right, but honestly, I suppose `+layout.js` it's not a good place, and for me, it just should be before `+layout.js` and `+page.js` (doesn't care who first) it's not...

> @tcc-sejohnson I see, in that case, it can work, but from a semantic point of view, it's not good. It's not a layout anymore if you understand what I...

@stalkerg https://github.com/sveltejs/kit/discussions/6124

@sphinxc0re No need for this. Back a while ago, we had #6179. This causes `hooks.{js|ts}` to be run whenever the app "starts" (this is a bit of an amorphous term...

@cibernox No it's intended -- I purposefully made that PR because of the same use-cases as @sphinxc0re. It was created in response to #6147.

> So this should be documented then, right? Hah, that would close my issue from a _looong_ time ago: #1753

This is intended behavior. You can't import anything from `$lib/server` into client-side code. Same for `$env/*/private`. The errors are showing you the import chain that's causing the problem.

I don't think there's really any way for us to help with this from an environment variable standpoint. The idea behind `telefunc` is cool, but the fact is you _are_...

I'm going to hazard a guess that that solution is going to be a "no" from Rich. I think the "correct" solution here would be to use a public environment...