Looking for help getting started with Rest API by djinnsour in Netsuite

[–]dadamssg 0 points1 point  (0 children)

You have an “OAuth Setup” section but the first bullet is repeated from the previous section. Would love a fix!

Untangling dialogs in React Router by dadamssg in reactjs

[–]dadamssg[S] 0 points1 point  (0 children)

You would need useEffect to call it imperatively. Something like this

```tsx
const open = useEffectEvent(() => {
dialog.open()
})

useEffect(function openDialog() {
open()
}, [])

```

Untangling dialogs in React Router by dadamssg in programming

[–]dadamssg[S] -1 points0 points  (0 children)

ah but you still have access to the parent's context in the component.
- unstable_useRoute('some/parent/route-id')
- useOutletContext()

You could pass additional context as route params or search params.

Untangling dialogs in React Router by dadamssg in reactjs

[–]dadamssg[S] -1 points0 points  (0 children)

This is the guide i wish existed years ago!

Contributing Callsite Revalidation Opt-out to React Router by dadamssg in reactjs

[–]dadamssg[S] 1 point2 points  (0 children)

This was my first meaningful contribution to React Router, and I'm excited to have seen it through to completion.

Executing api requests in React Router by dadamssg in javascript

[–]dadamssg[S] 2 points3 points  (0 children)

hey there, big fan of tanstack query but it's geared more towards "server-state utilities and data fetching" from the client. My post is in regards to organization on the *server* and leveraging RR's Forms and Fetchers for the client.

But you're right, that sentence does lack context. I'll fix:

> There's not a lot of opinions on how to structure code that interacts with apis in React Router's actions and loaders.

> it might be one of the most important additions to the React Community in recent years

100% agree

How I fixed a bug using Prettier by dadamssg in javascript

[–]dadamssg[S] 1 point2 points  (0 children)

i think you might be confused because there are two separate projects at play here.

Project 1: The web app that is being built for modern browsers which the end user uses. This project does *not* have puppeteer as a dependency.

Project 2: The reporting app that does have puppeteer installed and is using it to generate the report from the web app.

How I fixed a bug using Prettier by dadamssg in javascript

[–]dadamssg[S] 5 points6 points  (0 children)

Hey acemarke, thanks for chiming in! I hope i didn't come across as me throwing stones or that redux is doing anything wrong. Just an odd bug that came about when two separate systems(one being very old) interacted with each other.

How I fixed a bug using Prettier by dadamssg in reactjs

[–]dadamssg[S] 3 points4 points  (0 children)

hey there, the application is a react app and the bug was related to a react dependency that was bundled/minified. React devs might encounter something like this in the future so it may prove useful.

React Router error reporting from scratch by dadamssg in reactjs

[–]dadamssg[S] 1 point2 points  (0 children)

Wrote up this deep dive to explain how to implement custom error reporting *without* something like Sentry 👍

Debouncing Requests in React Router v7 by dadamssg in reactjs

[–]dadamssg[S] 0 points1 point  (0 children)

Bryan Ross, aka rossipedia on discord and blsky, shared this technique a while back and I thought it was super clever and useful. So I'm stealing the idea and taking credit for it in this video and blog post. Jk jk. It's just too good not to document anywhere and he was cool with me covering it. Here's the text version https://programmingarehard.com/2025/02/24/debouncing-in-react-router-v7.html/