10 lines
952 B
Markdown
10 lines
952 B
Markdown
# UI Kit 1.2.3 — Next.js Query Params adapter compatibility
|
|
|
|
Fixed `uikit/next-pages-router` (and the matching `uikit/next-app-router`) to handle the nested CommonJS/ESM exports returned by `next-query-params` in Next.js/Webpack. Previously the adapter could be a plain object, causing `QueryParamProvider` to throw `Element type is invalid`.
|
|
|
|
No API or component prop changes are required. Continue using `<NextPagesRouter shallow={true} options={{ enableBatching: true }} />` inside `<BiProvider>`. No standalone `QueryParamProvider` is necessary after upgrading to the patched UI Kit.
|
|
|
|
The UI Kit package version has been set to 1.2.3 in this archive. Publish this version/tag in your own Git repository before updating downstream Git dependency references.
|
|
|
|
Changes limited to both Next.js router adapters, their built outputs, the adapter resolution helper, and this release note/version. Other providers and UI Kit components remain unchanged.
|