All Projects → deamme → Ts Transform Inferno

deamme / Ts Transform Inferno

Licence: mit
Typescript transformer for InfernoJS

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Ts Transform Inferno

Rematrix
Matrix transformations made easy.
Stars: ✭ 355 (+639.58%)
Mutual labels:  transform
Nwb
A toolkit for React, Preact, Inferno & vanilla JS apps, React libraries and other npm modules for the web, with no configuration (until you need it)
Stars: ✭ 5,429 (+11210.42%)
Mutual labels:  inferno
Partial.lenses.validation
Partial Lenses Validation is a JavaScript library for validating and transforming data
Stars: ✭ 39 (-18.75%)
Mutual labels:  transform
Scrollreveal
Animate elements as they scroll into view.
Stars: ✭ 20,264 (+42116.67%)
Mutual labels:  transform
Fromfrom
A JS library written in TS to transform sequences of data from format to another
Stars: ✭ 462 (+862.5%)
Mutual labels:  transform
Refract
Harness the power of reactive programming to supercharge your components
Stars: ✭ 791 (+1547.92%)
Mutual labels:  inferno
Vue To React
🛠️ 👉 Try to transform Vue component to React component
Stars: ✭ 326 (+579.17%)
Mutual labels:  transform
Inferno Most Fp Demo
A demo for the ReactJS Tampa Bay meetup showing how to build a React+Redux-like architecture from scratch using Inferno, Most.js, reactive programmning, and various functional programming tools & techniques
Stars: ✭ 45 (-6.25%)
Mutual labels:  inferno
Async To Gen
⌛ Use async functions in your JavaScript today with speed and simplicity.
Stars: ✭ 509 (+960.42%)
Mutual labels:  transform
Js Boilerplate
Boilerplate for any javascript frontend project
Stars: ✭ 36 (-25%)
Mutual labels:  inferno
Arquero
Query processing and transformation of array-backed data tables.
Stars: ✭ 384 (+700%)
Mutual labels:  transform
Camaro
camaro is an utility to transform XML to JSON, using Node.js binding to native XML parser pugixml, one of the fastest XML parser around.
Stars: ✭ 438 (+812.5%)
Mutual labels:  transform
Change By Example
Finds a function that transforms a given object into another given object.
Stars: ✭ 32 (-33.33%)
Mutual labels:  transform
Jslt
JSON query and transformation language
Stars: ✭ 367 (+664.58%)
Mutual labels:  transform
Panzoom
Universal pan and zoom library (DOM, SVG, Custom)
Stars: ✭ 1,003 (+1989.58%)
Mutual labels:  transform
React Hint
Tooltip component for React, Preact, Inferno
Stars: ✭ 338 (+604.17%)
Mutual labels:  inferno
Nerv
A blazing fast React alternative, compatible with IE8 and React 16.
Stars: ✭ 5,409 (+11168.75%)
Mutual labels:  inferno
Bentools Etl
PHP ETL (Extract / Transform / Load) library with SOLID principles + almost no dependency.
Stars: ✭ 45 (-6.25%)
Mutual labels:  transform
Html Modules Toolkit
Transforming HTML standards of the future into JavaScript standards of the past
Stars: ✭ 45 (-6.25%)
Mutual labels:  transform
Limbobyexample
Examples for the Limbo Programming Language
Stars: ✭ 34 (-29.17%)
Mutual labels:  inferno

ts-transform-inferno

travis npm version

Typescript transformer for InfernoJS.

A Typescript transformer is like a plugin to the Typescript compiler, so if you're using Typescript anyway in your project you don't need Babel as a dependency.

Install

yarn add -D ts-transform-inferno typescript

General usage

const transformInferno = require('ts-transform-inferno').default

transformInferno()

It's different depending on what bundler you're using. Please check the examples folder.

Usage with css-modules-next

Check out the examples folder here.

Usage with classcat

The examples are already using this. It's a custom transformer than comes before ts-transform-inferno. More about it here.

Usage with FuseBox (recommended)

Look into the examples/fuse-box folder and the fuse.js file.

You could also try to build the project by running the following commands:

cd examples/fuse-box && npm install

npm run start:dev or npm run start:prod

Usage with webpack and ts-loader

Look into the examples/webpack folder and its webpack config.

You could also try to build the project by running the following commands:

cd examples/webpack && npm install

npm run build:prod or npm start

Testing

You can run the following command to test: npm test

Adding test cases

Write your test in a .tsx file and add it to tests/cases.

Compile with npm test and look into the tests/temp and verify.

Overwrite references by running the following command: npm run overwrite-references

Run npm test again to verify that all tests are passing.

Credits

Very much inspired by these projects:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].