-
Slider API RFC
### Goal
Create an accessible, easy to use but still flexible enough slider component.
Following our renderlesskit slider component:
[renderlesskit/react slider](https://githu…
-
In order to measure the lighthouse score of the AMP pages powered by CI, need to have lighthouse CI integrated.
1. Documentation - https://github.com/GoogleChrome/lighthouse-ci/blob/master/docs/gett…
-
When Props are extending an interface that is imported AND another type is present with the name 'Prop' in it, react/proptypes is throwing a false positive.
```
eslint-plugin-react@7.21.5
```
…
-
I don't get the error until I try to load the page:
server.jsx:
```
import React from 'react';
import ReactDOMServer from 'react-dom/server';
import { match } from 'react-router/es6';
import { Serve…
ghost updated
3 years ago
-
### 🐛 bug 描述
TypeScript error in E:/hitcxedu-web_3.0/node_modules/@ant-design/pro-field/lib/index.d.ts(87,1):
Declaration or statement expected. TS1128
85 | } & RenderProps;
86 | expo…
-
I'm thinking of splitting the react-specific stuff out, so we will probably have stuff like
* createApi.enhance(enhancer)
* enhanceWithHooks(options)
* createReactapi = createApi.enhance(enhanceW…
-
从大的方面说,我是一个很坚定的分层党,而不是组件化党。
在之前[这篇](https://github.com/xufei/blog/issues/22)中,我详细阐述过这方面的看法,到现在回头看,里面有些细节待修补。大致总结一下观点如下:
0. 组件化的最大意义在分治,而不是可复用
1. 细粒度的东西,或者不带业务含义的东西,我倾向于组件化
2. 大粒度的东西,不管有没有业务含义,…
xufei updated
3 years ago
-
### 🥰 需求描述
有两个 ProFormSelect,选项数据都是从服务器获取的,当第一个 Select 被选中后,拿到选中的结果去获取第二个 Select 的数据,这种情况下有解决方案吗?
-
## Environment
## System:
- OS: macOS High Sierra 10.13.5
- CPU: x64 Intel(R) Core(TM) i5-4308U CPU @ 2.80GHz
- Memory: 82.71 MB / 8.00 GB
- Shell: 3.2.57 - /bin/bash
## Binaries:
- Node: …
-
Make a component that renders its children when a user is logged in and optionally checks the logged in user has a role given as a prop.
The children might be a function, a renderProps, that will rec…