Migration guide from the rive-js package
*-single
version packages for each of the above that have the WASM encoded in the JS. See the web runtime docs to help you decide which runtime package you may need for your project.
We changed the package model to choose which renderer to use (i.e., CanvasRenderingContext2D vs. WebGL), impacting bundle size and performance. In addition, all of the new web runtime packages will support the latest Rive features, such as raster assets.
In any case, there should be no changes in high-level API usage required as far as using the rive
instance. You only need to change the package you install in your project and the associated places you import it.
For instance, instead of the following integration:
@rive-app/canvas
with any of the new package outputs for web runtime that suit your need.