remesh icon indicating copy to clipboard operation
remesh copied to clipboard

A CQRS-based DDD framework for large and complex TypeScript/JavaScript applications

Results 8 remesh issues
Sort by recently updated
recently updated
newest added

like https://github.com/remesh-js/remesh/pull/92 demo for this bug: https://stackblitz.com/edit/react-ts-krvjzv?file=index.tsx

在看 [TodoList example](https://github.com/remesh-js/remesh/blob/f3c117aa1f57be44c7c250a86b2fb2c1abca8e96/projects/domains/src/todo-mvc-with-multiple-domains/domains/TodoList.ts#L33) 时发现`event`产生依赖于`TodoListModule`的`command`,但是 `command` 实现细节是在`remesh` 内部的,需要使用者确定`command`确实对`list`产生了修改,如果`ListModule`对外暴露`ListChangedEvent、ListItemAddedEvent`等事件,外部就确定事件已发生可以直接使用。不知道有没有必要呢?如果有必要的话我想尝试提一下pr~

![image](https://github.com/remesh-js/remesh/assets/11240668/2a143c24-1ca5-40b0-8eb5-c9ec83812018)

现在有这样一个业务方法 ``` typescript const downloadId = downloader.startDownload(url, { onProgress: () => {}, onFinish: () => {}, onFailed: () => {}, }) download.cancelDownload(downloadId) ``` 使用remesh定义如下模型 downloadCommand cancelDownloadCommand downloadStartedEvent progressUpdatedEvent downloadSuccessEvent downloadFailedEvent...

每次打开 TypeGridFilterCmp 组件,值都是 空 '', 请问为什么呀? ```ts import { Remesh } from 'remesh'; export type DataType = '' | 'MTD'; const HeaderFilterDomain = Remesh.domain({ name: 'HeaderFilterDomain', impl: (domain) => {...

一些 react 的状态库有相关的 dev tools,比如: redux -> [redux-devtools](https://github.com/reduxjs/redux-devtools) mobx -> [mobx-react-devtools](https://github.com/mobxjs/mobx-react-devtools) remesh-js 有自己的调试工具吗?或者是有推荐用于调试的 dev tools 吗? Some libraries are used to manage react status have their dev tools, such as:...

场景: 视频通话开启摄像头本地展示并上传摄像头流。 ### 第三方服务: ```typescript class CameraShareService { public startLocal(dom: HTMLElement): void } ``` ### 通过remesh建模如下: ```typescript OpenCameraCommand OpenCameraStartedEvent OpenCameraSuccessEvent ``` ### 问题 当 `OpenCameraStartedEvent` 事件触发同时修改状态`visible`渲染摄像头 dom,但是 `OpenCameraStartedEvent` 的 effect...