DEV Community

Cover image for Wizar devlog 12 - Ravioli refactor and PIXI.js begins
Daniel Neveux
Daniel Neveux

Posted on

Wizar devlog 12 - Ravioli refactor and PIXI.js begins

This week I started a big refactoring of ravioli to change a fondamental behavior of the reaction system.
At the result, the reaction will be more atomic which is why I first start this project. If I want to change one player name in a list of 1000 players, I don't want observers who listened to the entire players list refresh as well.

My brother experimented Ravioli here and here to mimic a submachine gun fire/reload and some pattern recognitions. It was a cool experience because it is the first time someone else deep dives into Ravioli. I have noticed some improvements to add:

  • add default acceptor to reduce the boilerplate (when it is just a set value)
  • retains action names which leads to the new step and inject them in the delta state

I also notice the need to have a component tree, which is on my todo list after this big refactor.

Also I played with pixi.js for the first time for futur tutorial improvement :) This was a great experience and fits well with Ravioli.

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (0)

Heroku

This site is powered by Heroku

Heroku was created by developers, for developers. Get started today and find out why Heroku has been the platform of choice for brands like DEV for over a decade.

Sign Up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay