ben4d85
ben4d85
Given that this ticket in from 2017, and I haven't used Brackets since, I am closing this ticket.
> ...however I'm still having Destroy(t) related errors > > For some reason when the application changes pages... > > however it seems that when the elements are destroyed, it...
@meghe2000 I believe the first problem you mentioned, the deprecation warning, has been resolved. See my comment here: https://github.com/davidfig/pixi-viewport/issues/453#issuecomment-1727914417
@LouisGusta Regarding the destroy related errors, I found a solution that works for me. See my comment here: https://github.com/davidfig/pixi-viewport/issues/438#issuecomment-1727742746
@meghe2000 Do you have any further problems, or can this be closed now?
I have tried the approach from @lazharichir and can confirm that this allows me to use pixi-viewport with pixi-react. I think manually adding the event system is key (even if...
I have tried the suggestion from @Balinth, i.e. adding `willUnmount` as shown in his code sample. I can confirm that the following error no longer appears: > Uncaught TypeError: Cannot...
I have tried the code samples shared above and found the following. **(A) Suggestion from @lazharichir - does _not_ work for me.** ```ts import { EventSystem } from '@pixi/events'; if...
Update: This thread, https://github.com/davidfig/pixi-viewport/issues/438, provides a partial solution. However, it leads to an error when leaving the page.