Git Product home page Git Product logo

factorio-calc's People

Contributors

abrindam avatar antibluequirk avatar cdhowie avatar clarabstract avatar crazy2be avatar drakesiard avatar farsyte avatar flow86 avatar jpas avatar keepondigging avatar lezed1 avatar odegroot avatar peewee223 avatar shouya avatar whazor avatar

Watchers

 avatar

factorio-calc's Issues

Upgrade jsx compiler and possibly also react

We currently use react-0.13 and its accompanying JSXtransformer. This sometimes works, but sometimes also doesn't.
image

For example, removing google analytics from the page breaks the calculator, probably because GA slows down the page load enough for the jsx transformer to finish doing its thing before the lua engine kicks in.

React-0.13 is ancient and long out of support. Newer versions of react prefer server-side jsx compilation, so I tried to get that to work on github pages, but that failed. I seem to remember that server-side jsx compilation simply isn't possible with github pages, but I no longer know exactly why.

There is now also an in-browser JSX transformer from Babel 5, so we should probably try and use that.
https://facebook.github.io/react/docs/language-tooling.html

Hopefully, this will also enable us to upgrade react itself.

('We' is mostly myself, but also rubyruy and anyone else who wants to contribute.)

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.