vdom
Here are 124 public repositories matching this topic...
I need to scroll to a certain part of the page, using hash routing. Something like:
/#/post/32#comment-id
This project seems to solve it for the react router, but it doesn't work with inferno:
https://github.com/rafrex/react-router-hash-link.
Here's the main source, seems like it could be easily adapted to the
Hey!
Render function can be used as a standalone library var render = require("mithril/render")
Since it requires a vnode as the second argument, my question is how to create a vnode? Is there a standalone tool than can be imported from mithril?
I tried feeding hyperscript vnode to render function, but it didn't work.
var h = require('hyperscript')
m.render(body.document,
-
Updated
Jun 24, 2020 - JavaScript
Marko Version: 4.18.4
Details
I use some facebook markup that I let facebook parse from DOM:
<fb:login-button
auto-logout-link="false"
button-type="continue_with"
size="large"
scope="public_profile,email"
use-continue-as="true">
</fb:login-button>
In my onMount I then let the facebook API do it's thing with th
"nerv-create-class": "^1.3.3",
"nerv-redux": "^1.3.3",
"nervjs": "^1.3.3",
"node-sass": "^4.9.2",
"prop-types": "^15.5.8",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"react-loadable": "^5.5.0",
"react-redux": "^5.0.7",
"react-router-dom": "^4.2.2",
"redux": "^4.0.0"
'react': 'nervjs',
'react-dom': 'nervjs',
General Information
- [+ ] Improvement
- [+ ] Feature
Description
It may be useful: High-quality C++ HTML parser from cobalt.foo project. CMake port of it can be found at https://github.com/blockspacer/skia-opengl-emscripten/issues/5 and https://github.com/blockspacer/skia-opengl-emscripten/blob/master/src/cobalt/cobalt_dom.cmake#L32
Some possible use cases:
- Create some
How to unmount?
React has unmountComponentAtNode, preact has render(null, element), etc.
How would that work in Superfine?
patch(null, null, container) // ?
// or
unmount(container) //?What is it expected from this operation?
They both have similar goals and both are inspired by Elm. So what's the difference?
I think Sauron's README should mention Yew explicitly and include some table outlining similarities and differences.
On Win10 (tested in FF), the top right logo font is bolder than on MacOS, causing the text to overflow the 210px given space.
Adjust the font to look more the same, e.g. reducing the font-weight from 800 to 600-ish on Windows should fix it.
WIP docs
some of this stuff is briefly mentioned in https://github.com/leeoniya/domvm#templates and easily overlooked, other stuff requires reading the code of the demos, and the rest is just plain missing. i think the list below represents a fairly thorough todo list for the docs.
does anyone have a good feel for how best to prioritize the items in terms of greatest impact?
-
Updated
Jun 23, 2020 - JavaScript
The code rejected rerender from outside by calling render
https://github.com/zouhir/preact-habitat/blob/69699493715f002ccf37ac85d5af342628b50a37/src/lib.js#L123-L125
const { render } = habitat(MyComponent)
render({
selector: '.app',
})
// the blow renderer does not work
render({
selector: '.app',
defaultProps: { foo: 'bar' }
})-
Updated
May 4, 2020 - TypeScript
-
Updated
Jul 2, 2020 - JavaScript
In VDOM Event Support there are two lines with typos in the first code example; corrected:
from IPython.display import display
return button(str(count), onClick=on_click, style={'width': '100', 'height': '40'})
The second code example has typos, too, corrected:
from IPython.display import display
model
Can you add documentation for running on node?
I am currently using a hack found in a closed issue:
import 'undom/register';
global['document'].createDocumentFragment = () => global['document'].createElement('#fragment');Hopefully there's a way to do this without messing with global objects!
-
Updated
Mar 20, 2020 - JavaScript
-
Updated
Jun 16, 2020 - JavaScript
better examples
The examples should use both jsx and the h api. Please default to the jsx as it is quite a lot easier to understand.
-
Updated
Feb 28, 2016 - JavaScript
-
Updated
Feb 7, 2019 - JavaScript
-
Updated
Apr 28, 2019 - JavaScript
It's unclear how to run the tests in this project. There is a small blurb in README.md, but I have never used tox so I don't know what I need to do. It's also unclear what "virsh access" means -- does that mean the tests use libvirt/virsh/KVM/etc. to run in a virtualized environment? If so, what versions of Linux are supported? Are any other operating systems supported?
It would be much more he
-
Updated
Aug 6, 2019 - Makefile
-
Updated
Apr 1, 2019
Improve this page
Add a description, image, and links to the vdom topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the vdom topic, visit your repo's landing page and select "manage topics."
I'm confused about whether onFocus/onBlur events should bubble in preact, like they do in React.
In this example using preact 10.0.0-beta.1 they don't bubble https://codesandbox.io/embed/5wxk9zk7lx
...whereas in the Preact repl they do bubble https://preactjs.com/repl