Skip to content

React 19 #539

Description

@Hanieh-Sharifi

Is there any plan for supporting react 19?

@loki/runner has problem with it and crash

Activity

  1. chernogor-jemmic commented on Apr 24, 2025

    @chernogor-jemmic

    What type of problem do you have? It works good for me (but I am using custom loki set up)

  2. timjb commented on May 16, 2025

    @timjb

    I'm also having problems after upgrading my project to React 19. I believe that the issue is that loki uses an old version of ink which requires React >= 16 as a peer dependency and won't work with React 19. Therefore when you use loki as dependency in a frontend project, you are using the same React version for running the loki CLI and for rendering your frontend. Imo the proper solution for this problem would be for loki to add React as a dependency to make it independent of the React version in your project.

  3. chernogor-jemmic commented on May 20, 2025

    @chernogor-jemmic

    I got it. Loki peerDeps quite outdated, and to be fair, their are useless. In my opinion, loki should not be dependent on storybook or react version because it makes no sense. I do not install loki in frontend repo for that reason (it conflicts with my sb version).

  4. Hanieh-Sharifi commented on Jul 15, 2025

    @Hanieh-Sharifi
    Author

    What type of problem do you have? It works good for me (but I am using custom loki set up)

    @timjb is right. problem is with ink.
    @oblador do you have any plans to update loki's dependencies?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions