Giter Site home page Giter Site logo

Non-trivial example? about j2cl HOT 4 CLOSED

google avatar google commented on May 18, 2024 2
Non-trivial example?

from j2cl.

Comments (4)

niloc132 avatar niloc132 commented on May 18, 2024 3

How non-trivial are you looking for? From basically day one, the domino-ui and nalu projects have been compatible with j2cl - while we're still iterating on the exact way to use this, the dominodo project is about 700 lines of code. We're using this as a testbed for a proposed maven plugin and some ideas about how to consider project structure (as with bazel: "many, small modules").

from j2cl.

realityforge avatar realityforge commented on May 18, 2024 1

I was using a patched version of the early maven plugin by @niloc132 for a a TodoMVC app that used react.js, elemental2, j2cl, dagger and our own state management library arez (like mobx but for java). It stopped working as the various libraries got out of sync (i.e. elemental2 vs closure externs) and it trigger at least one bug in J2CL but overall the experience was nice and not so much different from GWT2.x except faster reload time. I also have a much larger example app that included interaction with a remote back

We plan to move our production apps to J2CL mid year if all goes to plan. In which case we should be able to revive this example and add a few more complete ones. However we will probably be moving to Bazel ... which may not be helpful if you are not moving in that direction. 🤷‍♂️ The main (only?) complexity of J2CL from a consumer point of view seems to be the integration of the build tools.

from j2cl.

gkdn avatar gkdn commented on May 18, 2024

FWIW, I'm not seeing J2CL go away in the next 5 years from Google perspective however I think these open-source projects are useful only with a community built around it since as you pointed Googlers may eventually need to move around. Non-bazel build infra and GWT 3's transition to J2CL might help with building more community but we will see.

With respect to examples; over time there will be more examples in the repo. If you give cases where you need more detailed explanation or examples, we can prioritize those as well.

from j2cl.

pcj avatar pcj commented on May 18, 2024

Thanks for responses. I'll go ahead and close this issue.

from j2cl.

Related Issues (20)

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.