Sebastian Seilund
Sebastian Seilund
A workaround that seems to work for me is to add a hash of the asset's source as a JS comment together with `import.meta.ROLLUP_FILE_URL_referenceId`. So instead of the following from...
@benwilson512 are there any recent recommendations on this? Since I upgraded to Phoenix 1.5, I see the many messages like this in my logs when my server shuts down: ```...
Order: ``` {Phoenix.PubSub, pubsub_config()}, UserflowWeb.Endpoint, {Absinthe.Subscription, UserflowWeb.Endpoint}, ``` If I put `Absinthe.Subscription` before `UserflowWeb.Endpoint` it won't start. I'm not routing any _new_ traffic to my nodes once shutdown starts. As...
@benwilson512 I looked into https://github.com/derekkraan/ranch_connection_drainer. It waits for connections to end before letting Endpoint shut itself down. So I don't think it'll fix the issue here since the WebSocket connections...
I think that would be amazing 🙏
> If you aren't routing traffic away from your node on deploy then when they are disconnected they may try to reconnect to the same node which will now fail....
Could you provide some more info please? Suggested fix?
Can you paste a full code example? Where does `socket` come from above?
@babalugats76 I figured something out! **TL;DR; Workaround: Make sure that your `onChange` handler does not cause a re-render if the Slate value has not changed.** I've been struggling with a...
The issue happens even with just 1 editor: If the `` component's parent component is re-rendered in the same "tick"(?) as it gets focused. [CodeSandbox example with just 1 editor](https://codesandbox.io/s/slate-focus-re-render-issue-l48iz?file=/src/App.js)