Git Product home page Git Product logo

dotnet-wasm-react's People

Contributors

maraf avatar mungojam avatar rousseaujustin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dotnet-wasm-react's Issues

.NET Wasm in Angular?

Congratulations on successfully implementing .NET WebAssembly (Wasm) with React! I'd like to express my appreciation for your accomplishment. I'm also interested in achieving the same integration with Angular. Can you provide guidance on how to do it and whether it is supported?

While attempting to implement .NET WebAssembly (Wasm) in Angular, I encountered an npm package compilation error during the application build. After making some configuration changes, I was able to resolve the issue and the wasm part is now functioning correctly (able to call the .NET assembly and print messages in the console). However, I'm facing an issue where the Angular component is not being rendered as expected.

Unnable to use `npm run start`

As reported in #4.

image

/***/ "../qrlibrary/react/dist/index.webpack.js":
/*!************************************************!*\
  !*** ../qrlibrary/react/dist/index.webpack.js ***!
  \************************************************/
/***/ ((module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "QrImage": () => (/* binding */ __webpack_exports__QrImage)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../qrlibrary/react/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* provided dependency */ var __react_refresh_utils__ = __webpack_require__(/*! ./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js */ "./node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js");
__nested_webpack_require_3181__.$Refresh$.runtime = __webpack_require__(/*! ./node_modules/react-refresh/runtime.js */ "./node_modules/react-refresh/runtime.js");

The last line of code produces the error. The problem is the __nested_webpack_require_3181__, the "normal" __webpack_require__ has $Refresh$ configured correctly.

Uncaught TypeError

Uncaught TypeError: Cannot read properties of undefined (reading 'createElement')

return /#PURE/react__WEBPACK_IMPORTED_MODULE_0__["default"].createElement("i", null, "Loading...");

Using npm start.
Change tag or remove not resolve.

How to build the project locally?

I would like to thank you for this example which really looks intersting and exiting. But I struggle a bit how to build it locally.

Could you please just add some instructions into the readme file, what I need to do in order to build and run it locally?

Thanks ๐Ÿ˜ƒ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.