Justin Sun

Results 21 issues of Justin Sun

使用React Hook和Typescript,类型安全地管理对话框组件,减少对话框组件开发复用时的心智负担,极大提升开发体验 - 开源地址:https://github.com/jsun969/react-hook-dialog - 示例代码: - [Material UI](https://codesandbox.io/s/rhd-mui-example-etwz20) - [Ant Design](https://codesandbox.io/s/rhd-antd-example-qhj7zy)

- [ ] #16 - [ ] #17 - [ ] #18

enhancement

If we need type-safe, `createDialogs` must have 2 generic types `createDialogs`. I assume we don't need `TNames`. Infer it by ts from `defaultProps` instead.

enhancement

## 推荐项目 - 项目地址:https://github.com/jsun969/react-hook-dialog - 类别:JS - 项目标题:React Hook Dialog 用ReactHook管理对话框组件 - 项目描述:使用React Hook和Typescript,类型安全地管理对话框组件,减少对话框组件开发复用时的心智负担,极大提升开发体验 - 亮点:类型安全,完整的自动补全,提高开发效率,减少冗余代码 - 示例代码:https://github.com/jsun969/react-hook-dialog#-example - [Material UI](https://codesandbox.io/s/rhd-mui-example-etwz20) - [Ant Design](https://codesandbox.io/s/rhd-antd-example-qhj7zy) - 后续更新计划:增加实用特性,提高开发效率

JavaScript 项目

I'll try to merge the [extension](https://github.com/react-hook-form/devtools-extension) repo into this repo. And turn it into monorepo. ## Draft ![image](https://user-images.githubusercontent.com/29330847/181903171-4169d629-5133-459d-b3ab-9771a5faa5b6.png) ## Tasks ### Packages - [ ] Core - [ ] Component...

enhancement

instead of using nextJS maybe we can use vite with SSR, keep this repo simple, in fact, if this mismatch is resolved we probably don't have to worry about it...

enhancement

添加 [react-location](https://github.com/tanstack/react-location) 路由