improved

ViroReact 2.43.0 - What's New

Today I'm really excited to be unpacking what's new in ViroReact 2.43.0.

Just a note for the future: We intend to share all future release notes here within our docs site, it helps keep everything together.

This update has been all about stability. It focused on resolving the most widely reported bugs to help make ViroReact more stable and reliable for our amazing community of developers. So, without furtherado here's what's new in ViroReact 2.43.0.

🎯 Broader React Native & Expo Compatibility

What changed:
We’ve loosened version constraints across the board, making it easier to adopt ViroReact in newer React Native and Expo projects.

New minimum supported versions:

  • Expo SDK: 52
  • React Native: 0.76.0

This means you can now integrate ViroReact into more modern stacks without wrestling with version mismatches.


🧼 Crash-Free Component Unmounting (iOS Navigation Fixes)

What was happening:
Some developers experienced crashes on iOS during navigation β€” especially when Viro components were unmounted mid-transition.

How we fixed it:

  • Added checks before referencing node properties
  • Improved lifecycle sequencing during unmounts
  • Strengthened references to parent portals

These updates significantly reduce the likelihood of crashes during screen transitions or component teardown.


πŸ›‘οΈ Stronger Property Management & Defensive Logic

Context:
Occasional runtime errors could occur when updates were applied to components during or after teardown.

Improvements include:

  • Guard clauses to skip updates on invalid or null nodes
  • Try-catch wrappers for all property updates
  • Diagnostic logging for better debugging
  • Refined teardown method on Android
  • Proper disposal of event delegates and listeners
  • Auto-cancellation of anchor requests
  • Resetting internal state flags for safety

These changes add robustness and help developers avoid edge-case errors in complex AR apps.


πŸš€ Why It Matters

This release is all about making AR development smoother. You get:

  • Broader support for modern stacks
  • Fewer edge-case crashes
  • More predictable and stable component behavior

Whether you’re experimenting with AR or deploying production apps, this update brings welcome quality-of-life improvements.


πŸ“¦ Get the Latest Version

Update now via:

npm install @reactvision/viro-react

Full List of GitHub Issues Resolved



Need Help?

If you're looking for support getting started or want an expert to help you build a comprehensive AR or VR application look no further than our community Discord and our our trusted experts.

Join the ReactVision Discord β†’

Hire an Expert β†’