Sal Niro
Sal Niro
@xralphack why would it not be okay? `shouldComponentUpdate () => false` essentially never updates. I am going to add a `detachOnMount` boolean that does this
@xralphack gotcha. So I'm thinking then of a `detach={variable}` that can be bound, so whenever it's truthy the component will not update at all, but when false will behave as...
@xralphack okay there is now a [`detach` prop](https://github.com/scniro/react-codemirror2#props). This should both prevent the component from updating via `shouldComponentUpdate` lifecycle event *and* prevent any internal option setting. I may break out...
@edmondxiexie @taniarascia @joeldouglass @xralphack I am a lot shorter on time these days as when I started this project. Codemirror & React APIs are moving to quickly for me to...
@dyzajash have you seen the bit on [autorefresh]?(https://codemirror.net/doc/manual.html#addon_autorefresh) > This addon can be useful when initializing an editor in a hidden DOM node, in cases where it is difficult to...
@dyzajash @divefox I understand the issue more clearly now, thanks for the latest explanation. I looked at that plugin and have no problem baking that into the source. It's certainly...
@divefox that's odd, didn't we essentially try to do that? Either way I didn't get the free time to get this in over the weekend anyways 😞 Are you suggesting...
@dyzajash great look forward to it just keep us posted 😺
has there been any progress on this? Looking over the issue I see lots of code without a clear solution. Does the answer lie within a change to the repo...
@dyzajash @Zyst @rmelian @yuki-takei @jo8937 @divefox @cristiano-belloni I am a lot shorter on time these days as when I started this project. Codemirror & React APIs are moving to quickly...