UNPKG

node-red-contrib-chatbot

Version:

REDBot a Chat bot for a full featured chat bot for Telegram, Facebook Messenger and Slack. Almost no coding skills required

12 lines (10 loc) 315 B
import React from 'react'; // This component could be called multiple times in plugin, always return the same instance let AppContext; if (window.AppContext != null) { AppContext = window.AppContext; } else { AppContext = React.createContext({}); window.AppContext = AppContext; } export default AppContext;