nylas / component-store-example

An example of the topics covered in Building for Plugins with React & Flux
180 stars 37 forks source link

Some questions about the pattern #6

Open Dcatfly opened 6 years ago

Dcatfly commented 6 years ago

Hello author. I saw your source code for this component-store-example, there are some questions, I don't know if you can help me to answer it. I found that the principle behind your react plug-in demo was using the coffee-react-browser plug-in, which enabled plug-in react modules by dynamically importing cjsx and dynamically compiling it in a browser and stores the current plug-in in the store via the module exposed in the window. The first question is, is it slow to dynamically compile in a browser in a real project? The second question, your react plug-in progress there is no more information to share? Thanks.