https://github.com/terrence-ou/moyu
moyu (摸鱼), a minimal frontend framework, build for fun
https://github.com/terrence-ou/moyu
frontend javascript javascript-framework nodejs
Last synced: 3 months ago
JSON representation
moyu (摸鱼), a minimal frontend framework, build for fun
- Host: GitHub
- URL: https://github.com/terrence-ou/moyu
- Owner: terrence-ou
- License: mit
- Created: 2024-05-23T17:04:00.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-19T16:42:20.000Z (about 2 years ago)
- Last Synced: 2024-12-31T15:46:35.068Z (over 1 year ago)
- Topics: frontend, javascript, javascript-framework, nodejs
- Language: JavaScript
- Homepage:
- Size: 195 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# moyu
A mininal JavaScript frontend UI framework, build for fun. Still in process...
A very BETA release: https://www.npmjs.com/package/@moyujs/moyu
Installation:
```
npm i @moyujs/moyu
```
Objectives:
- [ ] Virtual DOM
- [x] vDOM object [h.js](./packages/runtime/src/h.js)
- [x] Mount vDOM [mount-dom.js](./packages/runtime/src/mount-dom.js)
- [x] Destroy DOM [destroy-dom.js](./packages/runtime/src/destroy-dom.js)
- [ ] Documentations
- [ ] Testings
- [ ] State Management
- [x] Dispatcher [dispatcher.js](./packages/runtime/src/dispatcher.js)
- [x] CreateApp function
- [ ] Documentations
- [ ] Testings
- [ ] Reconciliation
- [x] Array difference detection and modification sequence generation [arrays.js](./packages/runtime/src/utils/arrays.js)
- [x] Object difference detection [objects.js](./packages/runtime/src/utils/objects.js)
- [x] DOM patching [patch-dom.js](./packages/runtime/src/patch-dom.js)
- [ ] Documentation
- [x] Testing [**tests**](./packages/runtime/src/__tests__/)
- [ ] Stateful Component
- [ ] Components definition [component.js](./packages/runtime/src/component.js)
- [ ] Examples
- [x] tictactoe @0.0.2