Patrick Smith
Patrick Smith
- Fix typo above - How to make use of props? Smartly handle prop changes? - How to set state’s key? - Integrate with GraphQL? ```js export const load =...
Note the current approach may be fine! ```js export const load = async (props, prevProps) => { if (!prevProps) { return { items: await fetch('/api/photos').then(res => res.json()) } } }...
Maybe use https://github.com/reactjs/reselect
Could also follow the `next/dynamic` system with `modules`: ```js import dynamic from 'next/dynamic' const HelloBundle = dynamic({ modules: (props) => { const components = { Hello1: import('../components/hello1'), Hello2: import('../components/hello2') }...
This also caused a problem for me. I believe publishing the fork `lokesh/quantize` as its own npm package would solve the problem, instead of referencing from github. I also had...
@tessi I'll have a look at the error, I missed that. Yeah I much prefer first-party type systems!
> whoar, I guess I'll throw out dialyzer. the benefit it brings doesn't feel big enough compared to the burden of maintenance it introduces. Yeah it only seems to be...
See: https://github.com/tom-sherman/serverless-xstate
See: https://github.com/RoyalIcing/yieldmachine/issues/10#issuecomment-920560801
What do you mean by right PNG formatting? Be lossless?