Comments (4)
I've had the exact same issue with AwaitRenderStatus error that started occurring just last week. My intuition says that some lib in the chain of dependencies of Nextjs dependencies got updated and this caused a memory leak inside app.
My plan was to load ReactAdmin component dynamically (just like you load lifi/widget
). While in development it worked it became unusually slow (to a degree tests started failing). But when build for production it stopped working all-together giving AwaitRenderStatus error.
Unfortunately I was not able to resolve it neither with [email protected] nor [email protected], but upgrading to 13.5.2 solved this problem.
from widget.
@jiayuxiaochaoren Hey, thanks for reporting the issue. Could you please provide a reproducible example? AwaitRenderStatus
is not something we have in our code, and maybe this comes from one of the dependencies.
from widget.
Thank you for your reply.
This is my package.json:
{
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint --fix"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.319.0",
"@aws-sdk/lib-storage": "^3.319.0",
"@chakra-ui/icons": "^2.0.19",
"@chakra-ui/react": "^2.5.5",
"@chakra-ui/styled-system": "^2.6.1",
"@chakra-ui/theme": "^2.2.4",
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6",
"@infura/sdk": "^2.4.3",
"@lifi/widget": "^2.4.4",
"@socket.tech/plugin": "^1.3.0",
"@supabase/supabase-js": "^2.12.1",
"@tabler/icons": "^1.86.0",
"@types/js-cookie": "^3.0.3",
"@vercel/analytics": "^1.0.1",
"@vercel/kv": "^0.2.2",
"arraybuffer-to-buffer": "^0.0.7",
"cross-fetch": "^3.1.5",
"dayjs": "^1.11.7",
"ethereum-blockies-base64": "^1.0.2",
"ethers": "^5.7.2",
"framer-motion": "^10.3.1",
"fs": "0.0.1-security",
"ipfs-http-client": "^60.0.1",
"js-cookie": "^3.0.1",
"next": "^13.1.6",
"next-auth": "^4.19.2",
"next-transpile-modules": "^10.0.1",
"omit-deep": "^0.3.0",
"prettier": "^2.8.8",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-helmet": "^6.1.0",
"react-icons": "^4.8.0",
"siwe": "^2.1.4",
"swr": "^2.2.0",
"url-loader": "^4.1.1",
"uuid": "^9.0.0",
"viem": "^1.3.1",
"wagmi": "^1.3.9"
},
"devDependencies": {
"@babel/core": "^7.18.13",
"@types/node": "^18.7.11",
"@types/react": "^18.0.28",
"dotenv": "^16.0.1",
"eslint": "^8.22.0",
"eslint-config-next": "^13.1.6",
"eslint-config-prettier": "^8.8.0",
"tsx": "^3.8.2",
"typescript": "5.1.6"
},
"peerDependencies": {
"@babel/core": "^7.18.13"
}
}
and code:
import { LiFiWidget } from '@lifi/widget'
import dynamic from 'next/dynamic'
// import { WidgetEvents } from './WidgetEvents'
const LiFiWidgetDynamic = dynamic(
() => import('@lifi/widget').then((module) => module.LiFiWidget) as any,
{
ssr: false
},
) as typeof LiFiWidget
export const Widget = () => {
return (
<>
{/* */}
<LiFiWidgetDynamic
config={{
fromChain: 324,
variant: 'default',
subvariant: 'split',
appearance: 'light',
languages: { default: 'en' },
containerStyle: {
width: '100%',
border: '1px solid rgb(234, 234, 234)',
borderRadius: '16px',
// margin: '0px 16px',
minWidth: '360px'
}
}}
integrator="zkproject"
/>
</>
)
}
by the way my project use Vercel to deploy.
@jiayuxiaochaoren Hey, thanks for reporting the issue. Could you please provide a reproducible example?
AwaitRenderStatus
is not something we have in our code, and maybe this comes from one of the dependencies.
from widget.
@beinoriusju thank you for providing such a detailed insight! 🙏 @jiayuxiaochaoren I hope that helps 🙂
from widget.
Related Issues (20)
- Getting Css error HOT 1
- okx.svg is using an uncommon attribute xmlns:xodm HOT 3
- The widget crashes in my React v18 app - interpolating a keyframe declaration (iSKUCl) into an untagged string HOT 8
- Web App crash in production HOT 4
- SVG error on page reload HOT 1
- How to update or completely destroy or re-initialize the widget context config ?! HOT 3
- The Widget Provider is lowercasing the passed fromToken and toToken addresses internally HOT 2
- Enabled Bridges showing swap form HOT 2
- Expandable on Vitejs react is not working HOT 2
- Hello, are there any examples used in nuxt3? HOT 6
- Support for the experimental syntax 'importAttributes' isn't currently enabled (1:28) HOT 2
- When applying border radius we have MUI styling on Chrome (See picture) HOT 2
- When chain list size is 10, widget will show a +1 button when is not needed HOT 1
- Drawer variant does not have an option to style the absolute button positioning HOT 2
- Next.js 14 incompatibility issue - OpenSea Seaport missing HOT 5
- Compilation error with wagmi v2 in Next.js HOT 8
- Widget doesn't work (broken endpoints) HOT 2
- v3 does not recognize a connected wallet and is unable to connect one HOT 1
- Can not build in Next.js 14 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from widget.