I am Yanni Nightingale from Beijing, China. I'am a senior front end developer. I'm interested in front end software architecture.
Nothing here yet.
No blogs yet.
I created a demo( v2ex-preact ) with preact/redux/react-router/react-redux/react-router-redux . It works fine mostly, but I found a bug that the author promised to fix. I suggest you using preact-compat to make preact acting as react , in case you encounter some issues that matter to your application, you can switch to react quickly.
I created a demo( v2ex-preact ) with preact/redux/react-router/react-redux/react-router-redux . It works fine mostly, but I found a bug that the author promised to fix. I suggest you using preact-compat to make preact acting as react , in case you encounter some issues that matter to your application, you can switch to react quickly.
Thanks. Dependency-tree IS in the memory, but that costs very little. The key is, every node transforms files(called Stream in panto.js ) holds a copy of file content, that may takes a lot of memory. My solution is, if the size of content exceed 1Mb, save it to tmp file. I'm thinking about convert strings to buffer in the near future. And the stream idea is great, like gulp does, but I need to merge multiple processes into one. I'm considering how to implement that.