whatisgithub

What is weex-native-directive?

yyx990803/weex-native-directive — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2017-10-10

8JavaScriptAudience · developerComplexity · 5/5DormantSetup · hard

In one sentence

A design proposal for Weex that moves long list rendering to native iOS/Android code, reusing screen cells instead of building a virtual DOM node per item.

Mindmap

mindmap
  root((repo))
    What it does
      Native list rendering proposal
      Recycles list cells
      New template directives
    Tech Stack
      JavaScript
      Weex
      Vue
      Rax
    Use Cases
      Speed up long scrolling lists
      Reduce mobile memory usage
      Optimize data-driven lists
    Audience
      Weex framework developers
      Mobile app engineers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Render very long lists in a mobile app without creating a DOM node per item.

USE CASE 2

Recycle native list cells the way UITableView or RecyclerView do.

USE CASE 3

Adopt the recycle-list component and cell-slot templates in a Weex-based app.

USE CASE 4

Design a JS-to-native binding layer for high-performance list rendering.

What is it built with?

JavaScriptWeexVueRax

How does it compare?

yyx990803/weex-native-directiveadguardteam/recoveryadm1nsys/safari-ai-extension
Stars888
LanguageJavaScriptJavaScriptJavaScript
Last pushed2017-10-102018-03-16
MaintenanceDormantDormant
Setup difficultyhardeasyhard
Complexity5/52/52/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1day+

This is a design proposal, not a working library, it requires framework-level changes to Vue, Rax, and the JS-native bridge.

Copy-paste prompts

Prompt 1
Explain how the recycle-list and cell-slot components in this proposal reduce memory usage compared to a normal virtual DOM list.
Prompt 2
Walk me through the [[match]] and [[repeat]] directive syntax this proposal introduces.
Prompt 3
Help me understand what changes to Vue and Rax would be needed to implement this proposal.
Prompt 4
Summarize the restrictions this proposal places on expression syntax and why they exist.

Frequently asked questions

What is weex-native-directive?

A design proposal for Weex that moves long list rendering to native iOS/Android code, reusing screen cells instead of building a virtual DOM node per item.

What language is weex-native-directive written in?

Mainly JavaScript. The stack also includes JavaScript, Weex, Vue.

Is weex-native-directive actively maintained?

Dormant — no commits in 2+ years (last push 2017-10-10).

How hard is weex-native-directive to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is weex-native-directive for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.