We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
another request.
It would be nice to allow customization of the argument variables of rt-stateless function (instead of predetermined props and context).
props
context
Especially, I want use destructuring assignment feature of ES6 on the props argument.
For example,
<div rt-stateless rt-stateless-props="{person}">Hello {person}</div>
or
<div rt-stateless rt-stateless-props="{{person}}">Hello {person}</div>
Compiled:
define([ 'react', 'lodash' ], function (React, _) { 'use strict'; return function ({person}, context) { return React.createElement('div', {}, 'Hello ', person); }; });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
another request.
It would be nice to allow customization of the argument variables of rt-stateless function (instead of predetermined
props
andcontext
).Especially, I want use destructuring assignment feature of ES6 on the
props
argument.For example,
or
Compiled:
The text was updated successfully, but these errors were encountered: