We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am...
| -------------------------------------------------------------------------------------------------
Proposal/Feature-request:
Add callback to render function to run code inside TestRenderer.act function.
render
TestRenderer.act
react-sketchapp/src/buildTree.ts
Lines 96 to 99 in b238e69
This should allow for Relay data fetching to occur before the component is rendered: https://relay.dev/docs/guides/testing-relay-components/#examples
I’ll work on hacking together a demo for this with a mock GraphQL Relay API; this could be expanded to having a full Relay example in this repo.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am...
| -------------------------------------------------------------------------------------------------
Proposal/Feature-request:
Add callback to
render
function to run code insideTestRenderer.act
function.react-sketchapp/src/buildTree.ts
Lines 96 to 99 in b238e69
This should allow for Relay data fetching to occur before the component is rendered: https://relay.dev/docs/guides/testing-relay-components/#examples
I’ll work on hacking together a demo for this with a mock GraphQL Relay API; this could be expanded to having a full Relay example in this repo.
The text was updated successfully, but these errors were encountered: