-
I'm redirecting but after redirection its remain open how can make it close
(
Sign in with
Li…
-
在第一节的`createElement`里面,返回的对象,如果节点是文本类型的,其`children`值直接就是一个字符串或者数字.就好比下面这样.
```js
{
type: 'span',
children: 'world',
}
```
在后面的`createDom`里面,我们也通过`if (typeof vdom !== 'object') `来判断一个节点是否是…
-
-
There are a lot of moving parts to this setup and a sample app (say something like https://facebook.github.io/flux/docs/todo-list.html) would be really helpful.
charl updated
7 years ago
-
* **Markwon version**: _{4.6.2}_
1. Please specify expected/actual behavior
I am using the AbstractMarkwonPlugin to make an image full width, also I am using the ErrorHandler. It seems to me tha…
-
While most use cases can be resolved using the `` component there are some special ones which might require a custom handling.
Example:
- Redirect to route based on rights
```
if (hasRole('adm…
-
将之前对 React Hooks 的总结整理在一篇文章,带你从认识到使用 React Hooks。
# 什么是 React Hooks
React Hooks 是 React `16.7.0-alpha` 版本推出的新特性,想尝试的同学安装此版本即可。
**React Hooks 要解决的问题是状态共享**,是继 [render-props](https://reactjs.or…
-
- `react-hooks-testing-library` version: [v8.0.0-alpha.1](https://github.com/testing-library/react-hooks-testing-library/releases/tag/v8.0.0-alpha.1) - created a commit starting [here](https://githu…
-
Hello. I want to offer an interesting feature. How about making connect able to take not only a component but also an effect? At first glance it sounds strange, but let's look at the use-cases.
For…
-
### Описание
Сейчас, если содержимое ModalPage самостоятельно меняет свою высоту, ModalPage это не подхватывает, может быть добавить там renderProps, пример:
```tsx
{(updateHeight) => }
…