Bugs caused by inconsistent return pointers are tricky to diagnose because the source of the error is often in a different part of the codebase from the actual mistake. For example, you might forget to set a return pointer during the render phase, which later causes a crash in the commit phase. This adds a dev-only invariant to the commit phase to check for inconsistencies. With this in place, we'll hopefully catch return pointer errors quickly during local development, when we have the most context for what might have caused it. |
||
|---|---|---|
| .. | ||
| npm | ||
| src | ||
| README.md | ||
| flight-client.js | ||
| flight-modules.js | ||
| flight-server.js | ||
| index.js | ||
| package.json | ||
| persistent.js | ||
| server.js | ||
README.md
react-noop-renderer
This package is the renderer we use for debugging Fiber. It is not intended to be used directly.