Comments (2)
Please prefer to post self-contained reproductions that can be directly executed or easily copied into a file that itself can be executed. Pictures of code snippets from your editor don't tick either of these boxes.
it can only render static content?
This is correct and in line with tooling from other libraries like React and Vue. It does not try to render function values, as those cannot be represented in the HTML DOM in general, and even if we were to try to make exceptions, one of the risks is errors due to closure variables (including the view's vnode
parameter - it's very often that you want to do vnode.attrs
in an event handler) not existing in scope and such.
from mithril-node-render.
Oh, I see
Thanks reply~ (ˊωˋ*)
from mithril-node-render.
Related Issues (20)
- innerHTML does not render HOT 3
- mithril v 1.0 compatible? HOT 1
- Still depends on [email protected] HOT 1
- has an demo HOT 2
- Can you add a DEMO? HOT 1
- Your Gitter badge is currently failing to render correctly on your README.md
- Add support to render sync HOT 2
- Missing m.route.param on the server ... HOT 4
- rewrite everything in TypeScript HOT 3
- can't use es6 class component
- How can i use it with jsx ? HOT 3
- Move mithril to a peerDependency
- Make class component check better match how Mithril does it
- Switch from `co` to `async`/`await`
- Adapt docs to async/await
- Future-proofing HOT 5
- Mithril's `oninit` is synchronous
- PSA: I've added a bunch of default community health files org-wide HOT 2
- Error doc HOT 5
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 mithril-node-render.