GithubHelp home page GithubHelp logo

react-anything's Introduction

react-anything

react-anything is a library to create easily native implementations of React. Originall React was intended to manipulate DOM elements; React Native, on the other hand, manipulates native mobile views. Similarly, react-anything is intended to facilitate using React to manipulate any other elements. In other words, it helps creating React applications where there is no DOM or mobile views.

This library was first developed to support react-phaser.

Most likely react-anything will be soon obsolete, since it seems that React will eventually implement a complete DOM-free version.

Default React vs React.native

As of version 0.15.rc2, the default React package loads the DOM manipulation code. react-anything modifies the default React object to remove the DOM related code, and links React with any other implementation.

As an alternative, it's possible to use react-anything/src/native, which loads a a React version without any DOM related code.

react-anything and react-anything/src/native should behave exactly in the same way. However, the later will compile to a smaller production file (~130KB using webpack). On the other hand, if you want to use any other library that also requires React (e.g., react-redux), the default react-anything should be used.

react-anything's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

llevkin ccckblaze

react-anything's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.