File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -114,11 +114,12 @@ export function Navigate({
114114
115115/**
116116 * FirstLoad component that captures the URL during the initial page load and notifies the server.
117+ *
118+ * FIXME: This component only exists because of a ReactPy core rendering bug, and should be removed when the bug
119+ * is fixed. In the future, all this logic should be handled by the `History` component.
120+ * https://github.com/reactive-python/reactpy/pull/1224
117121 */
118122export function FirstLoad ( { onFirstLoadCallback } : FirstLoadProps ) : null {
119- // FIXME: This component only exists because of a ReactPy core rendering bug, and should be removed when the bug
120- // is fixed. Ideally all this logic would be handled by the `History` component.
121- // https://github.com/reactive-python/reactpy/pull/1224
122123 React . useEffect ( ( ) => {
123124 onFirstLoadCallback ( createLocationObject ( ) ) ;
124125 return ( ) => { } ;
You can’t perform that action at this time.
0 commit comments