Jurj Andrei George

Results 53 comments of Jurj Andrei George

> There are at least two non-blocking alternatives to backing up SQLite, but I’d try https://github.com/WiseLibs/better-sqlite3/blob/master/docs/api.md#backupdestination-options---promise first. Thank you! I was asking more about the underlying issue itself, as there...

I ended up just using this in my `preload` script: ```ts import { ipcRenderer } from "electron"; import { LogLevel, LogMessage } from "electron-log"; export const sendLogToMainProcess = (scope: string,...

Given how common using better-sqlite3 with Electron is, this makes total sense and would improve the DX for many.

> While it is not recommended to run (concurrent) DB tasks in the renderer, I came across several projects, that use a hidden browser window for decoupling the persistence layer...

What's the status of this PR? It should be able to get merged now, right?

You could generate your UiSchema at runtime and order it at definition time. To get an idea of how you could do it: ```ts export const ORDERED_JSON_SCHEMA: JSONSchemaType = {...

Sure, here you go: https://codesandbox.io/p/sandbox/rjsf-field-errors-3ndqph Observe the errors when inputting a valid string according to the specified pattern, and then an invalid one. For simplicity, I changed the pattern to...

@nickgros Is the example I provided not satisfactory? Can the "needs reproducible example" label be removed now?

This would indeed be very good to have. While it is possible to perform extra validation in the `onSubmit` handler, it is easier and more convenient to add errors directly...