Coder Social home page Coder Social logo

marine's Introduction

Hi there 👋

👨🏻‍💻  About Me

Hi I’m Mofei, 哈喽我是朱文龙, A full-stack engineer since 2010, currently working on data processing pipelines at @mapbox

🛠  Tech Stack

HTML CSS JavaScript React Redux Webpack Sass Mini%20program Visualization Engineering

Node.js Nginx Mysql Mongodb Amazon AWS Alibaba%20Cloud Apache%20Spark Apache%20Airflow

Code ReView Unit testing Code Coverage

Git  GitHub  Markdown Visual Studio Code  Illustrator  Photoshop 

⚙️  GitHub Analytics

🤝🏻  Connect with Me

marine's People

Contributors

zmofei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

marine's Issues

传参为null的bug

例子如下:

Action.home.emit('channel', null);

Store.on('home.channel', StroeDate => {
    console.log(StoreData.data);    // []
});

当通过Action传参为null时,Store拿到的是空数组[]。

这个结果是否符合设计**?如果某种场景下需要通过Store获取到的就是null,应该以什么规范来传参?比如通过{data: null}的形式?

multi Store

If we have may Store listen, eg:

var StoreA = new Store();
var StoreB = new Store();
var StoreC = new Store();
var A = StoreA.on('click')
var B = StoreB.on('click')
var C = StoreC.on('click')

// usual we do this
StoreA.unbind(A)
StoreB.unbind(B)
StoreC.unbind(C)

can we unbind it easily ?

Store.unbind(A,B,C)?

How to remove a listening Store ?

The Store was registered in mounted period, and it should be canceled in unmount period.
So is there an API that I can remove the Store from keeping listening?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.