useSearchParams has defaultInit, I know it for sure, it is listed in type declaration.
And I am trying to find the proper clear documentation of it’s behavior here
https://reactrouter.com/en/main/hooks/use-search-params
but this contains nothing at all besides poorly written several sentences description.
i can find some discussions on other sources, but why? why should i find this in other places then in theoretical source of truth? I am super confused
visited https://reactrouter.com/en/main/hooks/use-search-params
visited https://github.com/remix-run/react-router/issues/9127#issuecomment-1205967773 that had some highlight explanation as response to bug request. I am super confused why should I find it in bugs reports and not in documentation
nonsense is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.