Comments (4)
Filed https://issuetracker.google.com/issues/306428078 upstream since there seems to be some support for this being a first-party toggle of the Compose compiler itself.
from redwood.
Realizing that even with toggles this won't fully eliminate these calls since we don't control the flag value in libraries (such as the Compose runtime itself, where they're enabled). So still need to build a solution that also applies somehow to libraries, not just the code in the compilation unit.
from redwood.
We can do this during linking with a regular compiler plugin because linking sees all the IR, not just the compilation unit of the current module.
from redwood.
Might be worth stripping all calls functions in Preconditions.kt
since the nullability for our code is already enforced at compile time and those functions are called very frequently. This is already possible via compiler flag for the JVM and will eventually be supported for JS.
from redwood.
Related Issues (20)
- Reserve obsolete tags HOT 2
- Development server does not work with Emoji sample or test app
- Disable klib signature clash checks in Gradle plugin
- Better row insert/remove/move animations in LazyColumn HOT 1
- Implement stretch with custom Layout. HOT 1
- Implement stretch with custom Layout. HOT 1
- Support these cases. HOT 1
- `CodeListener` should not get `TreehouseView` parameter HOT 1
- Screenshot tests of root views HOT 1
- JVM targets are compiling against JDK 21 API with Java 8 bytecode HOT 1
- Rename this type to something else, along with ProtocolFactory which needs a rew... HOT 1
- Add row/col/box screenshot tests where we remove one modifier element from a child
- Consider responsibility split for `Widget.Children`
- Protocol guest leaks child nodes when entire subtree removed HOT 1
- Protocol host leaks child nodes when entire subtree removed HOT 1
- Consider exposing Redwood version bi-directionally across Treehouse bridge HOT 2
- Support `movableContentOf` across protocol
- Rename redwood-protocol-host package to `.host` (from `.widget`)
- Rename generated protocol packages
- Rename Gradle plugin IDs for protocol generation
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 redwood.