Giter Site home page Giter Site logo

flow's People

Contributors

grilme99 avatar metrowaii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

flow's Issues

Some tests are flaky

Three of the test fixtures are flaky and require manual fixing after generating tests. This is a bug in upstream Yoga, but I'd like to find a solution because manually fixing test assertions is certainly not ideal.

It could be worth investigating how test generation is done in Taffy.

Internal classes don't type check properly

Classes in the yoga-sys package are written in a way that Luau doesn't type check properly (self is any). These should be updated to type the self parameter explicitly.

This is the cause of this issue. Explicitly typing the self parameter will catch type errors in CI.

Sync to Yoga 2.0

Meta released Yoga 2.0 part-way through the development of Flow. Once the new version of Yoga is battle-tested in environments outside of Meta (it has yet to be widely adopted in React Native), it would be great to sync Flow back up to the latest Yoga. This will deviate us from Typeflex, and we'll then be wholly based on Yoga itself.

Documentation

API usage is relatively straightforward, but adding documentation would still be helpful for new users. Yoga has next to no API documentation either, so other than tests, there's no point of reference for API usage.

Decouple from Roblox

Flow doesn't need to be tied to Roblox! It uses no engine APIs, and several different Lua environments could benefit from this package.

Decoupling from Roblox is currently blocked by this Darklua issue. Once Darklua can handle all Luau features, it will be possible for us to migrate to path-based requires and drop any dependency on Roblox-specific APIs or constructs.

Decoupling from Roblox would also allow us to run benchmarks and unit tests in Lune, dropping the need to use Roblox Studio to test.

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.