Flux 应用可插拔容器 Fluxible

码农软件 · 软件分类 · 高性能网络开发库 · 2019-09-01 07:26:33

软件介绍

Fluxible 是用于 Flux 应用的可插拔容器。

特征:

  • 服务器可免费使用单体模式进行渲染

  • 无状态异步操作

  • 便于集成的高阶组件

  • 增强磁通流动

  • 可在 Flux 内容上增加你的接口

  • 更新至 React 0.13

示例代码:

import Fluxible from 'fluxible';
import React from 'react';
import {connectToStores, createStore, provideContext} from 'fluxible/addons';
// Action
const action = (actionContext, payload) => {
    actionContext.dispatch('FOO_ACTION', payload);
};
// Store
const FooStore = createStore({
    storeName: 'FooStore',
    handlers: {
        'FOO_ACTION': 'fooHandler'
    },
    initialize: () => { // Set the initial state
        this.foo = null;
    },
    fooHandler: (payload) => {
        this.foo = payload;
    },
    getState: () => {
        return {
            foo: this.foo
        }
    }
});

本文地址:https://codercto.com/soft/d/13618.html

Flexible Pattern Matching in Strings

Flexible Pattern Matching in Strings

Gonzalo Navarro、Mathieu Raffinot / Cambridge University Press / 2007-7-30 / USD 64.99

String matching problems range from the relatively simple task of searching a single text for a string of characters to searching a database for approximate occurrences of a complex pattern. Recent ye......一起来看看 《Flexible Pattern Matching in Strings》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

SHA 加密
SHA 加密

SHA 加密工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具