Comments (4)
@jamesb3ll @pago Should all mount decelerations without as key
parameters have warning or should it only be in for-loops ?
I think, we can check this here
from melody.
Hey, @ayusharma
It should be for all of them AFAIK. It can be problematic in case of for loops, we are planning to enforce it.
from melody.
we are planning to enforce it.
It's better to throw an error in that condition.
Please let me know the error format.
I am thinking of this.
parser.warn({
title: "Missing 'as' key with mount.",
pos: tokens.la(0).pos,
advice: "There should be an 'as' argumnet with a 'key' in mount statement."
});
from melody.
Has been fixed by @ayusharma and will be part of Melody 1.2.0
from melody.
Related Issues (20)
- Q: How is it possible to render a template on server side and hydrate on client side? HOT 6
- melody-streams parent-child rendering broken
- Child components aren't mounted if the document root is another HTML tag than used in the root component
- Improvements in github actions
- Drop access to props.value to avoid bugs
- Twig ~ operator does not compile correctly
- Set default options for dispatchCustomEvent HOT 3
- Removes prefetch for async components
- Q: How to write a custom filter
- Fix peer dependency mismatch in melody packages
- Improve warnings for `melody-streams`
- Input element value goes out of sync from component state field it's bound to
- packages/melody-parser: Unclosed and several closing element tag cause `ERROR: Unknown tag` HOT 3
- Possible missing Operator "=>" in the filter filter HOT 2
- Homepage design errors
- Allow tags in attributes HOT 2
- Export only ES modules HOT 1
- TypeScript: Update tooling or remove
- Reduce amount of packages
- Setup Release Automation
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 melody.