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({
114
114
115
115
/**
116
116
* 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
117
121
*/
118
122
export 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
122
123
React . useEffect ( ( ) => {
123
124
onFirstLoadCallback ( createLocationObject ( ) ) ;
124
125
return ( ) => { } ;
You can’t perform that action at this time.
0 commit comments