- 👋 Hi, I’m @txchen
- 👀 I’m interested in ...
- 🌱 I’m currently learning ...
- 💞️ I’m looking to collaborate on ...
- 📫 How to reach me ...
txchen / feplay Goto Github PK
View Code? Open in Web Editor NEWFrontend Play
License: MIT License
Frontend Play
License: MIT License
riotjs-loader works fine the in the example without async, but in async throws:
ERROR in ./src/view/detail-view.html Module build failed: Error: TypeError: unknown: resolveModuleSource is not a function at Object.module.exports (/Users/gnb/Sites/Playground/feplay/riot_webpack_async/node_modules/riotjs-loader/index.js:32:11) @ ./src/riotTags.js 9:0-34
Sort table is not working, due to riot/riot#302
Wait until riot fixes it and verify this example.
The Markdown Editor and Grid Component demos in riot_vue
exhibit perceivable input lag. This is because they listen to keyup
event which fires late. To match the behavior of the Vue implementation, I suggest using to the input
event.
TL;DR: change onkeyup
to oninput
in <input>
and <textarea>
tags.
Hello, @txchen ! And thanks for the great code example!
I'm using your riot_webpack
as a base to one project. It is a great help!
But today I saw that everytime I do in a tag:
riot.control.on(signal, func)
I need to also do:
this.on('unmount', () => riot.control.off(signal, func))
If not, when the tag is mounted again, the old callback will still be there, so func
will be run 2X. Here, after some remounts the callback would be running +30X.
I tested your code now, and it seems to have the same problem.
Am I misunderstanding something?
Here the problem was fixed by adding this to a base mixing (used by all tags):
onControl: function(signal, func) {
riot.control.on(signal, func)
this.on('unmount', () => riot.control.off(signal, func))
},
And calling it instead of riot.control.on
.
Vuejs hit 1.0. And it now has some new examples, convert them to riot.
Because riot's bug, string literal cannot be used in expression. Wait until riot fix it.
I found it in http://yegor256.github.io/tacit/tacit.min.css
I think this Riot 2.0 example should be posted to the official Todo MVC repository. They are not too open to new suggestions so I suggest to read the contributing document very closely.
Here is a very interesting discussion why we were rejected last time.
Willing to take a shot?
看了你的代码,觉得不错,有机会一起交流交流
这是我最近做的库,互相 star
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.