Skip to content

What's next for Prisma on React Native and Expo #57

@sorenbs

Description

@sorenbs

Last year Prisma launched Prisma for React Native and Expo in Early Access. We also demoed it at the App.js conference in Krakow.

The original Early Access implementation was based on our Rust based query engine, which we ported to run on ios and Android. We've gotten the strong community feedback that this approach is suboptimal. It results in an incremental app bundle size of at least 20 MB. And it prevents Prisma from working with Expo Go.

Since then, two things have happened that has made it clear that we need a different approach. First, New Architecture became real, and is now shipped by default in Expo. Our current approach does not work with New Architecture. Second, the main Prisma ORM project is moving away from Rust for similar but unrelated reasons. This transition is going to complete in the second half of this year.

The future of Prisma for React Native and Expo is a much leaner, more performant version with no native dependencies that works in Expo/React Native as well as any modern browser. This will enable Prisma to work by default in Universal Apps deployed to both mobile and web.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions