Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Migrate the iOS new runtime off the data-binding APIs deprecated in rive-ios 6.28.0

Cerrado
#403 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@mfazekas ya está trabajando en esto.

Desde el 14/10/2026.

  • #423 de @mfazekas — abierto

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
68/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
react-native, swift
Área
mobile

Línea de trabajo

Start with ios/new/RiveReactNativeView.swift and the rive-ios 6.28.0 release notes; trace the current DataBind, viewModelInstance, bindViewModelInstance, and pendingBindInstance paths. Done means the deprecated APIs are no longer used, authored default instances and async rebinding still work for auto and by-name data binding, and the harness passes on both runtimes.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement iOS

rive-ios 6.28.0 (release notes) deprecates the concurrency data-binding API that ios/new/RiveReactNativeView.swift is built on. Everything still works on 6.28.0 (bumped in #401; the harness passes on both runtimes, warnings only), but these are slated for removal in a future release:

  • DataBind and Rive(file:artboard:stateMachine:dataBind:fit:) → pass explicitly bound components to Rive(file:artboard:stateMachine:)
  • StateMachine.bindViewModelInstance(_:) → try await stateMachine.bindViewModelInstances(main:globals:), which is async
  • Rive.viewModelInstance → create and retain the instance ourselves

Things the migration has to handle:

  1. dataBind auto and by-name must create the authored default instance explicitly, since getViewModelInstance() can no longer read it from Rive.
  2. Rebinding becomes async, which affects the dataBind-only change path and pendingBindInstance.
  3. Views now redraw automatically when bound instances change.

6.28.0 also adds global view models, font binding and blob binding, which we could expose once this is done.

Lenguaje dominante
TypeScript
Estrellas
157
Forks
17
Merge medio
1 d 10 h
PR fusionados (30 d)
20

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de rive-app/rive-nitro-react-native

Todos los issues de rive-app/rive-nitro-react-native

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.