The Open Web articles.
- JSDoc difficulties when referencing from npm package. - I have been satisfied with JSDoc for typing over full TypeScript for a while due to being able to do pretty much anything TypeScript can do. Especially when importing from a .ts file is also possible. However, the following issue around referencing and building types from npm packages has become too much of an issue … Continue reading JSDoc difficulties when referencing from npm package.
- How to use React Hook Form with multiple FormProvider contexts? - When using react-hook-form and useFormContext with multple forms inside the provider, on submit, how do I get each useFormContext data part as a separate object? While useFormContext in react-hook-form allows accessing form context within a FormProvider, it doesn’t directly solve submitting multiple forms with separate data objects. Here are two common approaches to achieve this: … Continue reading How to use React Hook Form with multiple FormProvider contexts?
- How to / is it possible to ensure no internet access in JavaScript web application? - I have been interested in providing web apps that can be accessed from a website, but are used completely offline. The reason for this is to prove that privacy is being protected at a technical level. However, I have only been able to find a few solutions. The obvious solution is to overwrite APIs that … Continue reading How to / is it possible to ensure no internet access in JavaScript web application?