[回到首页](../) | [上一章：8.原理与API文档](./8.原理与API文档.md)

# 9.其他资源

* [在 typescript 中使用](#在-typescript-中使用)
* [在 react-native 中使用](#在-react-native-中使用)
* [在 preact 或 nerv 中使用](#在-preact-或-nerv-中使用)
* [相关资源](#相关资源)
* [贡献指引](#贡献指引)
* [英文翻译](#英文翻译)

## 在 typescript 中使用
Pastate 使用 typescript 进行开发，具有完善的类型支持，可以直接引入 pastate 并直接在 React Typescript 项目中使用。

## 在 react-native 中使用
我们正尝试在 react-native 中使用 pastate, 你也可以加入尝试，如果发现什么问题，欢迎提交 issue 告诉我们~

## 在 preact 或 nerv 中使用
Pastate 在原理上可以与类 react (react alternative) 框架如  [preact](https://github.com/developit/preact) 或 [nerv](https://github.com/NervJS/nerv) 配合使用，但未进行全面测试，如果你尝试了，欢迎提交 issue 告诉我们~

## 相关资源
敬请期待，如果你基于 pastate 开发一些项目，欢迎提交 issue 告诉我们~

## 贡献指引
1. fork pastate 的 github 仓库： https://github.com/BirdLeeSCUT/pastate
2. clone 并安装 npm 包
```bash
$ git clone <your repo>
$ cd pastate
$ yarn install
```
3. 运行 pastate 开发包
```bash
$ yarn start
```
4. 实时测试 pastate 开发包
```bash
$ yarn test
```
5. 编译 pastate 开发包
```bash
$ yarn dist
```
目标代码会编译到 /dist 目录下
6. 提交代码，发起 pull request。

## 英文翻译
如果觉得 pastate 非常不错，欢迎参与 pastate 文档英文翻译计划，让更多的国外友人也能尝试 pastate 。如果你有意愿，请在 github 联系。