Skip to content
New issue

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

feat($compiler): support to generate "@render" function for weex recycle-list #6987

Merged

Conversation

Hanks10100
Copy link
Contributor

What kind of change does this PR introduce?

  • Feature

Does this PR introduce a breaking change?

  • No

Other information:

Compile the template twice with different options for weex platform if the recyclable flag is passed. Generate both normal render function and @render function for <recycle-list>.

Function names and arguments are also adjusted in <recycle-list> compiler.

If a component has the recyclable attribute on the template (<template recyclable="true">), weex-vue-loader will pass the recyclable option to weex-template-compiler. (weexteam/vue-loader-for-apache-weex@2b3ed31)

…e-list

Compile the template twice with different options for weex platform if
the “recyclable” flag is passed. Generate both normal render function
and “@render” function for recycle-list.

Adjust function names and arguments in recycle-list compiler.
@Hanks10100 Hanks10100 added the weex label Nov 2, 2017
@Hanks10100
Copy link
Contributor Author

I also add many test cases for <recycle-list>, which is located in test/weex/cases/recycle-list/.

@yyx990803 yyx990803 merged commit c8e00de into vuejs:weex-native-directive Nov 13, 2017
yyx990803 pushed a commit that referenced this pull request Nov 23, 2017
* feat($compiler): support to generate @render function for weex recycle-list

Compile the template twice with different options for weex platform if
the “recyclable” flag is passed. Generate both normal render function
and “@render” function for recycle-list.

Adjust function names and arguments in recycle-list compiler.

* test(weex): add test cases for <recycle-list>
yyx990803 pushed a commit that referenced this pull request Nov 27, 2017
* feat($compiler): support to generate @render function for weex recycle-list

Compile the template twice with different options for weex platform if
the “recyclable” flag is passed. Generate both normal render function
and “@render” function for recycle-list.

Adjust function names and arguments in recycle-list compiler.

* test(weex): add test cases for <recycle-list>
yyx990803 pushed a commit that referenced this pull request Nov 28, 2017
* feat($compiler): support to generate @render function for weex recycle-list

Compile the template twice with different options for weex platform if
the “recyclable” flag is passed. Generate both normal render function
and “@render” function for recycle-list.

Adjust function names and arguments in recycle-list compiler.

* test(weex): add test cases for <recycle-list>
yyx990803 pushed a commit that referenced this pull request Dec 19, 2017
* feat($compiler): support to generate @render function for weex recycle-list

Compile the template twice with different options for weex platform if
the “recyclable” flag is passed. Generate both normal render function
and “@render” function for recycle-list.

Adjust function names and arguments in recycle-list compiler.

* test(weex): add test cases for <recycle-list>
lovelope pushed a commit to lovelope/vue that referenced this pull request Feb 1, 2018
…6987)

* feat($compiler): support to generate @render function for weex recycle-list

Compile the template twice with different options for weex platform if
the “recyclable” flag is passed. Generate both normal render function
and “@render” function for recycle-list.

Adjust function names and arguments in recycle-list compiler.

* test(weex): add test cases for <recycle-list>
f2009 pushed a commit to f2009/vue that referenced this pull request Jan 25, 2019
…6987)

* feat($compiler): support to generate @render function for weex recycle-list

Compile the template twice with different options for weex platform if
the “recyclable” flag is passed. Generate both normal render function
and “@render” function for recycle-list.

Adjust function names and arguments in recycle-list compiler.

* test(weex): add test cases for <recycle-list>
aJean pushed a commit to aJean/vue that referenced this pull request Aug 19, 2020
…6987)

* feat($compiler): support to generate @render function for weex recycle-list

Compile the template twice with different options for weex platform if
the “recyclable” flag is passed. Generate both normal render function
and “@render” function for recycle-list.

Adjust function names and arguments in recycle-list compiler.

* test(weex): add test cases for <recycle-list>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants