这是indexloc提供的服务,不要输入任何密码
Skip to content

Using redux components within renderer #146

@kromit

Description

@kromit

Since the autosuggest uses its own redux store, the following use case is not possible:

renderContactSuggestion(item) {
    return (
        <span className={'suggestion-content'}>
            {item.firstName} {item.lastName} (<I18n message={"contactType."+item.type}/>)
        </span>
    )
}

The I18n Component uses a redux store, where the global translation messages are stored. But when the renderer is called, there is only the store from autosuggest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions