Search

Suggested keywords:
  • Java
  • Docker
  • Git
  • React
  • NextJs
  • Spring boot
  • Laravel

Valtio - Makes proxy-state simple for React and Vanilla

  • Share this:
post-title
Valtio turns the object you pass it into a self-aware proxy. You can make changes to it in the same way you would to a normal js-object. Valtio supports React-suspense and will throw promises that you access within a components render function. This eliminates all the async back-and-forth, you can access your data directly while the parent is responsible for fallback state and error handling.
http://valtio-demo.pmnd.rs/
https://github.com/pmndrs/valtio
License:
Tech: