Skip to content

[Question] How does POM go about updating the scene? #12

@aintnorest

Description

@aintnorest

Hi,
I was looking at http://www.rinconstrategies.io/using-react-and-pixijs.html, Which talks about using react with pixijs. I for the most part use https://github.com/reactjs/redux for my state management and was thinking that POM would work incredibly well with it.
Your post said,

"All you have to do is pass the data representation to the manager and let it create the scene for you."

Is there a performance hit to having it recreate the scene on each render instead of calling specific functions to move or edit the existing scene or do you do some type of diffing to tell whats changed and just call the functions needed to change the scene? Sorry If I'm not quite asking the right questions. I've used react for about a year and a half but have been tinkering and reading about pixi for just a week.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions