Comments (4)
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.
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.
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.
Thanks for responses. I'll go ahead and close this issue.
from j2cl.
Related Issues (20)
- Wasm sample broken HOT 2
- package listing?
- io_bazel_rules_kotlin_configured HOT 4
- How to fix the error: unused native file on Windows 11? HOT 1
- Ready to work on download file
- Wasm sample broken v2 HOT 2
- JUnit test example for wasm HOT 5
- I receive the following issue during the build. Have anyone an idea what the reason is: HOT 3
- [WASM] HashMap.computeIfAbsent doesn't work as expected HOT 1
- Can't run j2cl on Bazel 6 HOT 6
- Bazel: accidental impossible target HOT 2
- goog.reflect.sinkValue and deadcode elimination
- How to use it in vite +vue3
- Automate release/tag of the repo on green builds
- predicate is not usable by but exposed to JavaScript. HOT 3
- Support `rules_jvm_external` or `j2cl_maven_import_external` private registry HOT 1
- JRE emulation misses java.io.Externalizable
- Add dependabot to keep GitHub Actions up-to-date
- public methods are too eagerly optimized away; need ability to declare "@export" annotation HOT 9
- "Native JsType method '...' should be native, abstract or JsOverlay." error prevents default implementation for vanilla Java HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from j2cl.