[Docs] Error Decoder Page (#6946)

This commit is contained in:
Keyan Zhang
2016-06-04 14:43:56 -07:00
parent 5d12c3c20d
commit 0321236b1b
3 changed files with 132 additions and 1 deletions

13
docs/error-decoder.md Normal file
View File

@@ -0,0 +1,13 @@
---
id: error-decoder
title: Error Decoder
permalink: error-decoder.html
---
In the minified production build of React, we avoid sending down full error messages in order to reduce the number of bytes sent over the wire.
We highly recommend using the development build locally when debugging your app since it tracks additional debug info and provides helpful warnings about potential problems in your apps, but if you encounter an exception while using the production build, this page will reassemble the original text of the error.
<script src="/react/js/errorMap.js"></script>
<div class="error-decoder-container"></div>
<script src="/react/js/ErrorDecoderComponent.js"></script>