https://github.com/next-dev-team/react-wasm-rust
https://github.com/next-dev-team/react-wasm-rust
react rust wasm wasm-bindgen wasm-pack
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/next-dev-team/react-wasm-rust
- Owner: next-dev-team
- Created: 2024-05-08T09:41:32.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-15T01:47:19.000Z (12 months ago)
- Last Synced: 2025-01-26T16:45:33.133Z (9 months ago)
- Topics: react, rust, wasm, wasm-bindgen, wasm-pack
- Language: TypeScript
- Homepage: https://wasm-react.netlify.app
- Size: 1.17 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React-Wasm
The next generation of enterprise web applications with react and wasm `Preview:`
## Teach Stack
- [WasmRust](https://github.com/rustwasm/wasm-bindgen) Wasm with rust using Wasm-bindgen
- [Webpack MFSU](https://umijs.org/blog/mfsu-faster-than-vite) - Familiar with Webpack features
- [React](https://react.dev/) - React official website
- [TypeScript](https://www.typescriptlang.org/) - Familiar with the basic syntax of `TypeScript`
- [Es6](http://es6.ruanyifeng.com/) - Familiar with es6 basic syntax
- [Ant-Design V5](https://ant.design) - Enterprise UI library
- [Antd procomponents](https://procomponents.ant.design/) - Antd procomponent## Development
Preparation tools
- [Node](http://nodejs.org/) and [git](https://git-scm.com/)
- [Rust](https://www.rust-lang.org/tools/install)Develop
- Install pnpm: `npm i -g pnpm`
- Compile rust: `Cargo update`
- Run dev: `npm run dev`
- Run build: `npm run build`## Translate
- Fist init check config in `script/locale/locale-config.json`
### Auto translate with lobe/i18n using gpt
- Setup: `lobe-i18n -0`
- Enter key or proxy server
- Translate `npm run locale:sync` will auto extract all translate to default lang and translate to all language that config in scrip/locale-config.json## Rust lib ref
## Contributing
Any type of contribution is welcome, here are some examples of how you may contribute to this project:
- Submit [issues](https://github.com/next-dev-team/react-wasm/issues) to report bugs or ask questions.
## MIT License