Skip to content

[Bug] Ошибка Illegal invocation #279

@Amiditin

Description

@Amiditin

Локализация бага

При использование любого flow провайдера падает ошибка Illegal invocation на 16 версии nextjs app router

Воспроизведение

nextjs v16.0.1

export const RegistrationForm = (): ReactNode => (
  <RegistrationFlow>
    <Form />
  </RegistrationFlow>
)

Ожидаемое поведение

Флоу инициализируются без ошибок

Приложи логи

Illegal invocation
../fragments/registration/src/form/component.tsx (33:3) @ RegistrationForm


  31 |
  32 | export const RegistrationForm = (): ReactNode => (
> 33 |   <RegistrationFlow>
     |   ^
  34 |     <Form />
  35 |   </RegistrationFlow>
  36 | )

Медиа

No response

Данные окружения

  • node v22

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions