Mark Cola
Mark Cola
I have been using this helper. ```js const pure = (fn) => (effects, ...args) => state => (fn(effects, state, ...args), state) ``` I don't know that the naming is the...
Yes, I wrap each effect with this `pure` function. This does return a synchronous state-update function, and ignores whatever is returned from the `fn`, returning the original state instead. The...
Just a note that you can access component props and context from `initialState`. One way around this issue is storing reference to the required props in state: ```js const withState...
I was having issues with animations not running on my android device until I disabled remote js debugging (https://github.com/oblador/react-native-animatable/issues/89#issuecomment-328757127)
This error occurs for me during the `Editable` [useIsomophicLayoutEffect](https://github.com/ianstormtaylor/slate/blob/03125312fbbd36da629978d9da92c244ffc836af/packages/slate-react/src/components/editable.tsx#L276) call after a rerender causes a previous selection to no longer exist/be outside the re-rendered content. e.g. A user has `567`...
If you wanted to run the server to try it out, then another option could be to use WSL-backed Docker Desktop to run the docker image with a mounted file...
Here you go: https://replit.com/@MarkCola/Slate-js-5571#src/App.tsx Run this, type some extra content beyond the existing and you will see this error when the user focus is outside the updated/reset content: 
@dylans Thank you for considering the changes - I implemented the PR under the assumption that the desired behaviour is to avoid throwing an error. The only functional difference with...
I did a bit of digging on this one. With the 3 different levels of access to user info that the notion API provides: 1. No user information, 2. Read...
My understanding is that `filter_by_databases` is only a helper that returns a pre-populated `NotionSearch::Filter`. To filter on pages you can construct you own `NotionSearch::Filter` like so: ``` let pages =...