near / react-on-chain

Improved execution layer for NEAR decentralized frontend components
https://roc-docs.near.dev/
23 stars 5 forks source link

feat: remove superfluous compiler init #385

Closed andy-haynes closed 1 month ago

andy-haynes commented 1 month ago

This PR removes the superfluous call to the compiler worker's init method in the useWebEngineSandbox hook. Since this method is now called as part of the useCompiler hook with overlapping dependencies, the call in useWebEngineSandbox is at best a no-op and at worst creates a race condition.

Potential fix for #382

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bos-web-engine ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 25, 2024 4:01pm
bos-web-engine-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 25, 2024 4:01pm
bos-web-engine-sandbox ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 25, 2024 4:01pm