James Berry

Results 58 comments of James Berry

Encountered more issues with this package. Ended up creating my own Gitmoji commitlint plugin - it's super simple. Run `npm i -D gitmojis`, create `commitlint.config.js`, paste code below & you're...

An alternate solution might be removing the stringify in `createMemo`. ```javascript export const createMemo = () => { const cache = new Map() return (value, apply, ...args) => { if...

Happy to update the Stitches website docs once this PR is merged 👍

Hi @hadihallak - I suggest using a better memoizing function like the one I have mentioned above if bundle size is a concern (https://github.com/stitchesjs/stitches/pull/1004#issuecomment-1097783207). `Map` browser support is all green...

Pending the merge and release of this PR: https://github.com/modulz/stitches/pull/1004 Here is an example using `@stitches` with web components and ShadowDOM. https://codesandbox.io/s/circular-json-reproduction-forked-gy01cx?file=/src/index.tsx

This should work 👇 ```ts // env-vars.d.ts import envCmdRc from './.env-cmdrc.json'; type ENV_CMD_RC = typeof envCmdRc; type Merge = { [K in keyof A | keyof B]: K extends keyof...

Hi @janpio - I am in agreement with this issue, `rejectOnNotFound` should support `update` and `delete` operations.

This line was copied over from tRPC main repo, do you have the same issue there? https://github.com/trpc/trpc/blob/6b9193ea450349f85c5305514b89674def72e442/packages/server/src/internals/errors.ts#L17-L33

This is not currently possible. Not sure I understand the use-case, but PR's are welcomed 🙌

Not a bad approach for the time being 👍 The core of this package is currently directly coupled to `node`, I'd like to spend some time to address this in...