Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/vutran/preact-codemod

:shaved_ice: Shave some bytes by using Preact.
https://github.com/vutran/preact-codemod

codemod javascript jscodeshift preact react transpiler

Last synced: 3 months ago
JSON representation

:shaved_ice: Shave some bytes by using Preact.

Lists

README

        

# preact-codemod

[![Build Status](https://travis-ci.org/vutran/preact-codemod.svg?branch=master)](https://travis-ci.org/vutran/preact-codemod) [![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/vutran/preact-codemod/blob/master/LICENSE)

> Transform your React code to Preact.

## Demo: [astexplorer](http://astexplorer.net/#/Pcp2Q5NFLq/10)

## Tests

```bash
$ npm test
```

## Goals

* Learning and experimenting with jscodeshift by transforming React to Preact.
* Eventually can convert a big React application.

## Contributing

♥ **_`preact-codemod`_** and want to contribute? You can help contribute to the growth of this codemod in many ways.

* [Bug Reports](CONTRIBUTING.md#bug-reports)
* [Feature Requests](CONTRIBUTING.md#feature-requests)
* [Pull Requests](CONTRIBUTING.md#pull-requests)
* [Feedback and Suggestions](CONTRIBUTING.md#feedback-and-suggestions)

## Support

Like what you see? [Become a Patron](https://www.patreon.com/vutran) and support me via a monthly donation.

## License

MIT © [Vu Tran](https://github.com/vutran/)