Skip to content

Next.js APIs (Link/Router/RSC) don't work with Triplex #314

@itsdouges

Description

@itsdouges
  • Images via imports aren't the same, e.g:
    import perlin from "@/shaders/material-steam/perlin.jpg"
    
    Results in a string in Triplex, but an object in Next.js.
  • Router links / context hooks throw
  • Process.env throws when loading anything from Next.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingContribution readyThis issue is a perfect candidate for external contribution.New featureNew feature or requestRenderer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions