You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the way the reuse markup error is displayed the difference is hardcoded to 20 characters of code on each side. This should be a configurable property.
20 characters is sometimes a bit hard to debug, especially with css-in-js libraries where your div's usually also contain an obfuscated class name. Being able to make this a larger number could help with debugging where it went wrong.
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug?
I'm requesting a feature.
What is the current behavior?
Currently the way the reuse markup error is displayed the difference is hardcoded to 20 characters of code on each side. This should be a configurable property.
The code can be found here: https://github.com/facebook/react/blob/master/src/renderers/dom/client/ReactMount.js#L677
20 characters is sometimes a bit hard to debug, especially with css-in-js libraries where your div's usually also contain an obfuscated class name. Being able to make this a larger number could help with debugging where it went wrong.
The text was updated successfully, but these errors were encountered: