Comments (2)
Some relevant resources from Discord discussion with @armanbilge:
Fabric virtual dom api: https://github.com/facebook/react-native/blob/b044ece59475c251bcf13bac0652f72d901e1c88/Libraries/ReactNative/FabricUIManager.js#L27-L32
Direct "DOM" updates with setNativeProps: https://reactnative.dev/docs/direct-manipulation
"DOM" rendering architecture: https://reactnative.dev/architecture/render-pipeline
ReactNativeHostConfig: https://github.com/facebook/react/blob/d49e0e0be0941490fe709f80de137516ba4c0ee3/packages/react-native-renderer/src/ReactNativeHostConfig.js#L263-L267
- It calls into low level UIManager.updateView / manageChildren methods, but it's a pretty thin wrapper over them, doing minor diffing calculations. I guess we don't need those calculations for Laminar API, but on the other hand as Arman said, if we target the HostConfig API, we could potentially target... other renderers written to that same API? I think https://github.com/necolas/react-native-web might be one of those, but not sure yet how it's implemented.
from laminar.
Note to self – one other uncertainty is the ability of Hermes to run Scala.js code. Seems doable but has some limitations apparently. Haven't looked into it myself. Discussion in scala-js discord: https://discord.com/channels/632150470000902164/635668814956068864/1143118419479236719
from laminar.
Related Issues (20)
- Docs: Algolia search
- RFC: Drop Scala 2.12 support HOT 2
- Laminar 15.0.0 pre-release testing & issues HOT 19
- Animation features
- [Question] - jQuery bind and oninput event HOT 2
- [DOM] Using certain reserved values for the `name` attribute breaks Scala types HOT 1
- onParentChange callbacks HOT 3
- ZIO / FS2 / etc. integration examples HOT 5
- tabIndex for SVG element HOT 3
- Handling of SVG attributes is subtly incorrect (and `xmlns` attribute is broken) (again)
- Post request fails to resolve HOT 6
- Helper to set multiple keys (props / attrs / event props) at the same time HOT 1
- Expose child-specific owners to help users write strict state logic
- RFC: onMount* callbacks should fire even if the element is already mounted
- Laminar Roadmap
- Error: Maven resources not found for Scala version 2.12, but I'm using Scala version 2.13.12 HOT 8
- Support nesting of dynamic inserters HOT 1
- RFC: Element.observe(signal) to safely get the signal's current value. HOT 1
- Easy `Var`: Providing implicit conversion from `Var[A]` into `Source[String]` ? 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 laminar.