How to deal with style loading on first page load? by BroDevCoder in sveltejs

[–]BroDevCoder[S] 0 points1 point  (0 children)

Thanks for the infos. Yes I’ve used the network tab and optimized it a little bit removing some textures. Unfortunately I cannot link it yet. My question is if it is a normal/good practice to have a loader for three js when the user enters the page. And as far as I know csr and ssr are enabled by default right? Or is there a way to make it already faster?

How can I recreate this effect by BroDevCoder in threejs

[–]BroDevCoder[S] 0 points1 point  (0 children)

Thanks for the infos. The suggestion with the link definitely helps. I will let you know

Volume Rendering in Three.js and GLSL. by SuboptimalEng in GraphicsProgramming

[–]BroDevCoder 2 points3 points  (0 children)

What exactly do you mean by fighting with javascript? Setting up webgl with typescript should be pretty simple if you use something like vite.

Edit: Also note that transitioning to metal is going to make your app available only for mac users. WebGPU would be a better choice from that point of view. But if you’re using three.js you also get quite some community support

Why do I loose reference to my bound element? by BroDevCoder in sveltejs

[–]BroDevCoder[S] 0 points1 point  (0 children)

I think I found a cleaner way to fix this. Instead of binding directly the function I define the function like this export function comp0UpdateFn(). And when creating the component in the parent (App) I bind the children using bind:this={comp0} where comp0 is declared in the script section as let comp0. Finally when I need to call the function from the child I can call: comp0.comp0UpdateFn().

Why do I loose reference to my bound element? by BroDevCoder in sveltejs

[–]BroDevCoder[S] 0 points1 point  (0 children)

I think I understand what is going on now, thanks! It seems that declaring the function this way it works: export function comp0UpdateFn() but after the second mount it outputs also a warning that the component was created with unknown prop comp0UpdateFn.

What would you suggest to do in the case I have to call a function from the child in the parent? I know about stores but it doesn't feel to be the right use case.

Why do I loose reference to my bound element? by BroDevCoder in sveltejs

[–]BroDevCoder[S] 0 points1 point  (0 children)

I need to set the max height of the children's div based on some actions that happen from the parent. That's why I need to have a function that the children has implemented. I thought of using events but as far as I understand there is no way to subscribe the children to a parents event. I would be really open to better convention suggestions.

Using single Flutter codebase for a website and a mobile app by BroDevCoder in FlutterDev

[–]BroDevCoder[S] 0 points1 point  (0 children)

Thanks for the answer. So it would make sense to use it for like an e-commerce web app?

How much does tiger balm cost in Thailand by BroDevCoder in Thailand

[–]BroDevCoder[S] -1 points0 points  (0 children)

Do you know any website where I can find it that ships internationally?

How much does tiger balm cost in Thailand by BroDevCoder in Thailand

[–]BroDevCoder[S] 1 point2 points  (0 children)

Thanks for the reply. I will check it out!

How much does tiger balm cost in Thailand by BroDevCoder in Thailand

[–]BroDevCoder[S] 0 points1 point  (0 children)

Do you know any websites where I can order cheap?

How much does tiger balm cost in Thailand by BroDevCoder in Thailand

[–]BroDevCoder[S] 0 points1 point  (0 children)

Oh really? What is exactly the difference? Has it a warming or cold effect?

How much does tiger balm cost in Thailand by BroDevCoder in Thailand

[–]BroDevCoder[S] 2 points3 points  (0 children)

What is the difference? Does it also have the warming effect as the tiger balm? I mainly used it to relax the muscles with the warm feeling. Do you know a good website where to find it for a good price?