facebook / facebook/relay

react-relay - improvement: Uncaught TypeError on undefined environment in QueryRenderer

Open
#2,165 1 comment 5 reactions 0 assignees View on GitHub
wontfix
Dominant language
Rust
Stars
19k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

When you use the **QueryRenderer**-component and do not pass environment, you get an `Uncaught TypeError: Cannot read property 'unstable_internal' of undefined`. Any reason why it is not type checked (invariant/prop-types)?

react-relay: ^1.3.0
relay-runtime: ^1.3.0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.