You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In both getPathFromState.ts and getStateFromPath.ts files, the query-string library is imported like so:
import * as queryString from "query-string";
When I install the query-string v8 library, the compilation fails. Works properly with query-string v7.
By simply replacing the import with import queryString from "query-string", the compilation error disappear and the app runs properly with query-string v8.
Would it be possible to upgrade query-string v8 and update the imports accordingly?
I believe this is the same issue mentioned in the last comment than #323
Minimal reproducible example
Here is a repo with the expo-router template and query-string v8 installed: repo
The text was updated successfully, but these errors were encountered:
@EvanBacon This doesn't work when in a monorepo other package is using query-string v8. Is there a specific reason for opting for query-string package instead of using URLSearchParams ?
Summary
In both
getPathFromState.ts
andgetStateFromPath.ts
files, the query-string library is imported like so:import * as queryString from "query-string";
When I install the query-string v8 library, the compilation fails. Works properly with query-string v7.
By simply replacing the import with
import queryString from "query-string"
, the compilation error disappear and the app runs properly with query-string v8.Would it be possible to upgrade query-string v8 and update the imports accordingly?
I believe this is the same issue mentioned in the last comment than #323
Minimal reproducible example
Here is a repo with the expo-router template and query-string v8 installed: repo
The text was updated successfully, but these errors were encountered: