Comments (9)
That's an amazing feature! Should I PR the README so that one does not have to go to a closed issue to have an example of how this works? :)
from time.
If someone is interested in taking this on please comment and I will assign the issue to you
from time.
const expectedHTML = (count) => `
<div class="counter">
{{ ... }}
<div class="count">Count: ${count}</div>
{{ ... }}
</div>
`;
I haven't foreseen this type of usage. Amazing!
from time.
from time.
Or we can move the example into the README, @raquelxmoss and I considered that but felt that it's a bit lengthy for an introduction.
If people think it would be a worthwhile addition to the README we can do that.
Also, once @cycle/time is in the monorepo with a nice table of contents it won't matter as much if the README is quite long, because there's a nice table of contents.
from time.
Moving the example to the README is a pretty good idea imho. It needs a bit of update, as makeHTMLDriver
has been moved to @cycle/html
, but it would be just fine
It's simple, straightforward, and really makes you want to try it (at least it worked on me)
from time.
We should really use snabbdom-to-html
in the example instead since it's a bit simpler to set up, and once it's ready, snabbdom-looks-like
.
If you want to make a pull request to put the example I would be in favour of that
from time.
That's a plan :)
from time.
for reference: https://github.com/cyclejs-community/create-cycle-app-flavors/blob/master/packages/cycle-scripts-one-fits-all/template/test/app.test.ts
from time.
Related Issues (20)
- README feedback HOT 6
- Export marble diagram images from tests HOT 6
- Expectation of delayed value with start-with value fails HOT 3
- Port xstream#tween to @cycle/time HOT 4
- Support Jasmine's done.fail() HOT 3
- Document behaviour of "simultaneous" value syntax HOT 11
- Export TimeSource type
- Support alternative testing frameworks such as Ava HOT 18
- Make Time.run() return a promise HOT 2
- Add throttleIdleCallback HOT 7
- Write a specification for the marble diagram DSL HOT 3
- Add support for loading extra operators HOT 13
- Allow events to run even when focus is lost HOT 9
- throttleAnimationFrame() HOT 5
- cjs bundle means lodash deps for mocking are pulled in on production apps HOT 4
- Delete code and add moved readme HOT 1
- Move issues and pull request to monorepo HOT 2
- Can you explain why the operators are useful... HOT 1
- Add support for most.js and rxjs 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 time.