nylas / component-store-example Goto Github PK
View Code? Open in Web Editor NEWAn example of the topics covered in Building for Plugins with React & Flux
An example of the topics covered in Building for Plugins with React & Flux
How exactly do you pass in the containerRequired as false? I've tried several different approaches but can't seem to figure it out. Any pointers would be great.
I see you use Reflux, but how can I create that central DataStore with Flux? I mean I eventually will run into "cannot dispatch in the middle of a dispatch"-problem when I try to modify the DataStore via action (from another store).
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.
1.Hey , are you guys importing the components dynamically ? if yes , how are you doing that ?
2. Is it possible to compile components dynamically (on demand) and load them then ?
As of now , what i know is if you use import("directory name") , it builds a context chunk in the build/compile time and later downloads it if required by user. That is faster than the static import but it still goes through the files in my directory as mentioned in import during compile time. Can we not compile those files on demand and load them then ?
Please assume that the imported files are error free in all manner.
Also , the query is for React . I know it can be done in AngularJs.
Thanks in advance.
index.html contains a link that's broken:
https://wzrd.in/standalone/coffee-react-browser
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.