(instance, text)
| 7765 | return instance; |
| 7766 | } |
| 7767 | function canHydrateTextInstance(instance, text) { |
| 7768 | if (text === '' || instance.nodeType !== TEXT_NODE) { |
| 7769 | // Empty strings are not parsed by HTML so there won't be a correct match here. |
| 7770 | return null; |
| 7771 | } // This has now been refined to a text node. |
| 7772 | |
| 7773 | |
| 7774 | return instance; |
| 7775 | } |
| 7776 | function isSuspenseInstancePending(instance) { |
| 7777 | return instance.data === SUSPENSE_PENDING_START_DATA; |
| 7778 | } |