Brian Zinn

Results 182 comments of Brian Zinn

Having multiple models simultaneously is something I'd like to fix at the same time. The problem is that the component itself is completely reloaded everytime, since a promise is thrown...

@dennemark Also, did you mean that you can switch models instantly with your code using `setEnabled`, but also that you don't load multiple of same model into your scene at...

I’m good to add breaking changes there. Let me think if I have a solution for that race condition. The whole cache thing bugs me - open to switch to...

Thanks for the PR - it adds a good extension point - I think you also need to remove from the cache manually. SceneLoader does so when you call dispose...

> But maybe it is nicer to just have some HOC that is using these functions internally. Do you mean like loading them and then returning a copy when loaded...

Let me make it public. I could also change the return signature (like useState)…. do you think one way is better?

hi @verekia - glad you are liking the library. I think the primitive being brought in via closure is just a drawback of javascript. Did you consider putting the variable...

I think even in "normal React" that stale closures have always been a problem. I do understand the issue you are having - did you have a solution in mind?...

It's done in the `applyProps` in `renderer.ts` - same as done in this project (and other renderers). The handleclick is re-assigned to r3f prop and that difference is detected and...

@rubas Thanks for bringing this up and also for your PR on `babylonjs-hook`. This is **super** important!! I actually brought up this discussion 3 years ago to get a babylon...