# react-dom-but-thai

> รูปแบบวัตถุเอกสารตอบสนอง เป็นไลบรารี JavaScript สำหรับสร้างส่วนต่อประสานผู้ใช้

Latest version **17.0.1** (published 2020-10-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-dom-but-thai
pnpm add react-dom-but-thai
yarn add react-dom-but-thai
bun add react-dom-but-thai
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 17.0.1 |
| Published | 2020-10-31 |
| First published | 2020-10-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 2 |
| Unpacked size | 18.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 65 |
| Maintainers | aomkirby123 |
| Keywords | react |

## Links

- npm: https://www.npmjs.com/package/react-dom-but-thai
- Repository: https://github.com/SaltyAom/react-but-thai
- npm.io page: https://npm.io/package/react-dom-but-thai

## Dependencies (2)

- [react-dom](https://npm.io/package/react-dom.md) ^17.0.1
- [@types/react-dom](https://npm.io/package/@types/react-dom.md) ^16.9.9

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 17.0.1 (latest) — 2020-10-31
- 17.0.1-experimental.1 (experimental) — 2020-10-31
- 17.0.1-experimental.0 — 2020-10-31

## README

![Powered by Electricity](https://forthebadge.com/images/badges/powered-by-electricity.svg)
![Build with Science](https://forthebadge.com/images/badges/built-with-science.svg)
![Design in MS Paint](https://forthebadge.com/images/badges/designed-in-ms-paint.svg)
![Contains Cat Gif](https://forthebadge.com/images/badges/contains-cat-gifs.svg)
![Work on my Machine](https://forthebadge.com/images/badges/works-on-my-machine.svg)
![You didn't ask for this](https://forthebadge.com/images/badges/you-didnt-ask-for-this.svg)

# React but thai
React but it's Thai translated.

## What
React but thai is React but it's Thai translated with the same modern API.

## Intention
Because I can.

## Why
Don't ask why, ask Why not.

## When to use
When you want to.

## How
Install it
```bash
yarn add react-but-thai react-dom-but-thai

// or with npm
npm install --save react-but-thai react-dom-but-thai
```

Then use the same API but it's translated.

Use `ตอบสนอง` instead of `react`
use `รูปแบบวัตถุเอกสารตอบสนอง` insteand of `react-dom`

### Example
```typescript
import ตอบสนอง from 'react-but-thai'
import รูปแบบวัตถุเอกสารตอบสนอง from 'react-dom-but-thai'

import แอป from './index.js'

รูปแบบวัตถุเอกสารตอบสนอง.แสดงผล(แอป, document.body)
```

### Demo
[Repository](https://github.com/SaltyAom/react-but-thai-demo)
[For working demo](https://react-but-thai.netlify.app)

## React API
Use `ตอบสนอง` instead of `react`

- Fragment as ชิ้นส่วน
- StrictMode as โหมดเข้มงวด
- Profiler as ประวัติ
- Suspense as ใจจดใจจ่อ
- Children as เด็กหลายคน
- Component as ส่วนประกอบ
- PureComponent as ส่วนประกอบบริสุทธิ์
- __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED as __ความลับ_ภายใน_ห้าม_ไม่_ไม่_ใช้_หรือ_คุณ_จะ_ถูก_ไล่ออก
- cloneElement as โคลนธาตุ
- createContext as สร้างบริบท
- createElement as สร้างธาตุ
- createFactory as สร้างโรงงาน
- createRef as สร้างเอกสารอ้างอิง
- forwardRef as ส่งต่อเอกสารอ้างอิง
- isValidElement as เป็นธาตุที่ถูกต้อง
- lazy as ขี้เกียจ
- memo as บันทึก
- useCallback as ใช้โทรกลับ
- useContext as ใช้บริบท
- useDebugValue as ใช้ค่าแก้จุดบกพร่อง
- useEffect as ใช้ผลกระทบ
- useImperativeHandle as ใช้การรับมือจำเป็น
- useLayoutEffect as ใช้ผลกระทบเค้าโครง
- useRef as ใช้เอกสารอ้างอิง
- useState as ใช้สถานะ
- version as เวอร์ชั่น

## React DOM API
use `รูปแบบวัตถุเอกสารตอบสนอง` insteand of `react-dom`

- __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED as __ความลับ_ภายใน_ห้าม_ไม่_ไม่_ใช้_หรือ_คุณ_จะ_ถูก_ไล่ออก
- createPortal as สร้างทางเชื่อม
- findDOMNode as หาโหนดรูปแบบวัตถุเอกสาร
- flushSync as ล้่างพร้อมกัน
- hydrate as ชุ่มชื้น
- render as แสดงผล
- unmountComponentAtNode as ยกเลิกการเชื่อต่อส่วนประกอบที่โหนด
- unstable_batchedUpdates as อัพเดทเป็นชุดแบบไม่เสถียร์
- unstable_createPortal as สร้างทางเชื่อมแบบไม่เสถียร์
- unstable_renderSubtreeIntoContainer as แสดงต้นไม้ย่อยเข้าไปในภาชนะแบบไม่เสถียร์

## Why should I use this
Because this contains cat gif but React doesn't not.
  
![Cat](https://media.tenor.com/images/8900e372a59d270b0238b7aea086c08d/tenor.gif)
  
See?

---
_Source: https://npm.io/package/react-dom-but-thai · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
