# reactjax

> React component to render math

Latest version **0.1.3** (published 2017-07-20) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install reactjax
pnpm add reactjax
yarn add reactjax
bun add reactjax
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2017-07-20 |
| First published | 2017-07-19 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Eirik Vikanes |
| Maintainers | snikanes |
| Keywords | react, mathjax, math |

## Links

- npm: https://www.npmjs.com/package/reactjax
- Repository: https://github.com/Snikanes/react-mathjax
- Homepage: https://github.com/Snikanes/react-mathjax#readme
- Issues: https://github.com/Snikanes/react-mathjax/issues
- npm.io page: https://npm.io/package/reactjax

## Dependencies (5)

- [babel-cli](https://npm.io/package/babel-cli.md) ^6.18.0
- [babel-core](https://npm.io/package/babel-core.md) ^6.20.0
- [load-script](https://npm.io/package/load-script.md) ^1.0.0
- [babel-preset-react](https://npm.io/package/babel-preset-react.md) ^6.16.0
- [babel-preset-es2015](https://npm.io/package/babel-preset-es2015.md) ^6.18.0

## 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

- 0.1.3 (latest) — 2017-07-20
- 0.1.2 — 2017-07-19

## README

# `react-mathjax`
#### (updated with React 15.6.1)

[![NPM version](https://badge.fury.io/js/react-mathjax.svg)](http://badge.fury.io/js/react-mathjax)

React component to display math formulas.

### Installation

```
$ npm i react-mathjax --save
```

### Usage

```js
const MathJax = require('react-mathjax')
const tex = `f(x) = \\int_{-\\infty}^\\infty
    \\hat f(\\xi)\\,e^{2 \\pi i \\xi x}
    \\,d\\xi`

module.exports = () => {
    return (
        <MathJax.Context>
            <div>
                This is an inline math formula: <MathJax.Node inline>{'a = b'}</MathJax.Node>
                And a block one:

                <MathJax.Node>{tex}</MathJax.Node>
            </div>
        </MathJax.Context>
    );
}
```

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