From c5a023ed86c2d0cdeef9f4cb81f7ee2b29fd5e54 Mon Sep 17 00:00:00 2001 From: marisaaquilina Date: Fri, 8 Nov 2019 15:22:40 -0800 Subject: [PATCH] Link the code snippets of UseSignal examples --- docs/source/developer/virtualdom.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/developer/virtualdom.rst b/docs/source/developer/virtualdom.rst index 4db37c3cada0..df743c462814 100644 --- a/docs/source/developer/virtualdom.rst +++ b/docs/source/developer/virtualdom.rst @@ -37,8 +37,8 @@ data that changes over time in JupyterLab. To have your React element change in response to a signal event, use the ``UseSignal`` component, which implements the `"render props" `__. -The `running component `__ -and the ``createSearchOverlay`` function in the `search overlay `__ +The `running component `__ +and the ``createSearchOverlay`` function in the `search overlay `__ use both of these features and serve as a good reference for best practices. We currently do not have a way of embedding Phosphor widgets inside of React components. If you find yourself trying to do this, we would recommend either converting the Phosphor widget to a React component or using a Phosphor widget for the outer layer component.