nanohtml
nanohtml copied to clipboard
:dragon: HTML template strings for the Browser with support for Server Side Rendering in Node.
I was wondering if its possible to use JSX instead of hyperx to create elements with Bel. I like to use Bel and Yo-yo, but sometimes its convenient to go...
I'm having problems with bel. I try to use bel to render some markdown content with the help of marked library. With this code ```js const html = require('yo-yo') const...
In `yo-yo` and `choo` it's a best practice to have element functions in an application return the same element given the same input. This mechanism is commonly referred to as...
Is there any solution of implying `if..else` logic with templates? As (as far as I know) we can't put `if` statement directly in body of `${ }`, there is probably...
Hi! Thanks for the module. I have an example here: http://requirebin.com/?gist=f2a99cc27c465ed51eb8159830836ca4. In it, each time I call `update` and `bel` creates a new element, a local network request is made...
When working with a more strict layout, whitespace between elements can cause trouble. For example, if I have a couple of spans that need to be flush against each other,...
So this may not be in the philosophy of bel, but how/should/can I easily create an extensible module for bel/yoyo (the module I use) that allows for custom tags/props that...