DEV Community

Discussion on: WebAssembly with Rust and React (Using create-react-app)

Collapse
 
lokesh007 profile image
Lokesh Prabakaran

Hello Charles, my sincere apologies for replying to this quite late.

From looking at your code, it looks you need to update the path relative to the file in which you are importing.

Since you trying to import the build in BudgetTable.js, please update the import path in componentDidMount to reflect the relative path to the build file from the directory of BudgetTable.js.