Nico André

Results 13 comments of Nico André
trafficstars

Did you tried using a callback ref approach? https://reactjs.org/docs/hooks-faq.html#how-can-i-measure-a-dom-node EDIT: nope, it gets down to the same issue.

After some empirical implementations of the spec I ended up missing naming for more than files themselves. From a library and API editor perspective, I missed names for: - The...

@KyleWpppd & @romainmenke, I used to think that manipulating the tree would get difficult without a mandatory `$type`. But we need to recall the format aims for data transportation and...

> The spec only mentions that using JSON has the side effect of being somewhat human-readable. But it doesn't even state that this is a goal or a requirement. You're...

@zcmgyu there's room for improvements regarding the concurrency management. Here to handle the case you describe you must use the "exclusive" mode. ⚠️ be careful this code is no longer...

Same issue with glob pattern `copyfiles --all ./src/templates/**/* ./dist` I have dotfiles in directory like `templates/child/.dotfile.js`.

@tsdineshjai the `ctx.addIssue` method is meant to register custom errors, into the current zod state, encountered along the `.superRefine` execution.

I thought a lot about the issues you mention @doozMen, and I landed on the same conclusion: the json tree lacks data. That said, the format specification aims for user-friendliness...

> Your suggestion to have a mapping slightly slows down the parsing and at least for me is less readable Agreed on that part @doozMen. I do not completely buy...

I guess your issue is more toward the practices rather the format. The parts you are referring to are non-normative in the sense they present the possibility and leave users...