Brisa 0.2.7

by Aral Roca

This release introduces new features, bug fixes, and documentation improvements to enhance the Brisa experience. Let’s dive into what's new!

✨ New Features

peek()

If you want to get the value of a signal without subscribing to an effect, you can use the peek method:

const count = state<number>(0);
const addition = state<number>(1);

effect(() => {
  count.value = count.peek() + addition.peek();
});

In this example, the count state will be updated only when the addition state changes.

🐞 Bug Fixes

📖 Documentation & Examples Updates

🔄 Maintenance

Full Changelog

🔗 https://github.com/brisa-build/brisa/compare/0.2.6...0.2.7

❤️ Support Brisa: Visit our shop for Brisa swag! 🛍️

Brisa Shop