Giter VIP home page Giter VIP logo

react.hx's Introduction

react.hx

example-commentbox (renamed from demo) closely follows the official React tutorial: http://facebook.github.io/react/docs/tutorial.html

example-filterproducts roughly follows the "Thinking in React" tutorial: http://facebook.github.io/react/docs/thinking-in-react.html

Changes from original react.hx:

  • some minor fixes like cleaning jsx code from linebreaks (causing errors in some cases)
  • hack to allow React classes to live in other than package root (see example-filterproducts)
  • haxelib library dependecies are replaced with inclusion in /libs - to avoid problems with react.hx incompatibility with later tink_core 1.0.0-rc* versions

node and npm need to be installed on your machine

react.hx's People

Contributors

cambiata avatar fponticelli avatar theremix avatar

Stargazers

Ali Torki avatar Jérémy Faivre avatar Tamas Hortobagyi avatar fsubal avatar Josh Brown avatar Jarkko Syrjälä avatar sharow avatar TiagoLr avatar Stefano Pigozzi avatar Adi avatar Alexander Fell avatar Daiki Noda avatar Clément Charmet avatar Oleg Butovich avatar Dario Elyasy avatar Marcelo Serpa avatar  avatar  avatar Fintan avatar Tom Link avatar Tim De Pauw avatar  avatar Andreas Söderlund avatar

Watchers

 avatar  avatar James Cloos avatar  avatar Daiki Noda avatar

react.hx's Issues

Hackish solution for allowing React classes in subpackages...

I just want to point out that the solution for allowing React classes in subpackages is very simple. (ReactMacro.hx, lines 93- and 110). It just

  1. looks for jsx tags beginning with fully qualified classnames including subpath "." dot(s), and stores them and removes the package name from the jsx tag...
  2. after doing the jsx magic, looks for the stored classnames in the resulting React.DOM statements, and adds the needed package path to them.
    Very hackish, but it seems to work...

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.