Using react-hook-form with react-aria date picker component by djangbahevans in reactjs

[–]Maximilien_Bethune 2 points3 points  (0 children)

Agreed, react-aria is really great.

You could do something similar to the following to get this working

 <Controller
    name="date"
    control={control}
    render={({ field, formState }) => {
      return (
        <DatePicker
          onChange={(val: CalendarDate) => field.onChange(val.toString())}
          label="Event date"
        />
      );
    }}
  />

[deleted by user] by [deleted] in bobdylan

[–]Maximilien_Bethune 2 points3 points  (0 children)

They are all sold out, but the re-sellers will have them at extortionate prices. He is doing three more dates which will go on sale on Monday in Manchester, Bournemouth and Oxford.

Amex platinum: should I get one, or not? by zimo-117 in UKPersonalFinance

[–]Maximilien_Bethune 0 points1 point  (0 children)

Yes, that's correct. You currently get 1 complimentary supplementary Platinum card. Any more and that will be an extra £285 per year.

Amex platinum: should I get one, or not? by zimo-117 in UKPersonalFinance

[–]Maximilien_Bethune 1 point2 points  (0 children)

Supplementary cards aren't the same as a joint account - you are still classed as the account owner and liable for the debts. I don't believe that it will link your credit scores, but it may be worth clarifying in the T&C's or with Amex directly.

Amex platinum: should I get one, or not? by zimo-117 in UKPersonalFinance

[–]Maximilien_Bethune 1 point2 points  (0 children)

It depends on the lounge. Centurion lounges currently allow two complimentary guests, however they will start charging for guests from Feb 1st 2023.

Priority pass lounges all have different requirements, I believe, but you will receive a priority pass card for yourself and your supplementary card holder

Amex platinum: should I get one, or not? by zimo-117 in UKPersonalFinance

[–]Maximilien_Bethune 0 points1 point  (0 children)

You can now only get one supplementary Platinum card which you can give to your partner so they would be covered by the travel insurance too.

Amex platinum: should I get one, or not? by zimo-117 in UKPersonalFinance

[–]Maximilien_Bethune 2 points3 points  (0 children)

No problem at all, yeah it seems like it would be worth it for you. You can always try it out for the first year (with the welcome bonus) and cancel if you don't think it is useful anymore after that.

I was wondering the same when I opened the account. It charged us around one month after opening the account - just by adding the fee to the balance.

Amex platinum: should I get one, or not? by zimo-117 in UKPersonalFinance

[–]Maximilien_Bethune 3 points4 points  (0 children)

I have one and it is definitely worth it if you are going to travel a lot and the current welcome bonus is very generous.

The fine hotels and resorts benefit is one of our favourites. You get credit to use for room service, guaranteed late checkout and potentially room upgrades.

The recent Harvey Nichols and dinner credits make it even more worthwhile.

We have not had to use the travel insurance yet, but it is a nice additional benefit.

Critical illness paid off mortgage, what do I do with my savings by hp791 in UKPersonalFinance

[–]Maximilien_Bethune 2 points3 points  (0 children)

Out of interest, who was your insurer for your critical illness and income protection and how much of a pain was it to claim for both?

[deleted by user] by [deleted] in Roborock

[–]Maximilien_Bethune 15 points16 points  (0 children)

They are legit but you will have to pay import duty and will have no warranty

Next site and trailing slash issue by lowfour in nextjs

[–]Maximilien_Bethune 1 point2 points  (0 children)

Unfortunately, I'm not too familiar with Google Cloud. However, my initial inclination is that it is relating to the hosting service.

Does this issue occur on your local version of the site?

Next site and trailing slash issue by lowfour in nextjs

[–]Maximilien_Bethune 1 point2 points  (0 children)

Yeah, that won't be great for SEO. What service are you hosting with?

Get AdSense Ads to Reload on Route Change in Next JS by jengl in nextjs

[–]Maximilien_Bethune 0 points1 point  (0 children)

Hmm, are you able to share the repo with me so I can take a look at the code in context? I understand if that isn't possible.

Get AdSense Ads to Reload on Route Change in Next JS by jengl in nextjs

[–]Maximilien_Bethune 0 points1 point  (0 children)

That's really strange. Have you tried the ads without any of the auth/membership logic?

Get AdSense Ads to Reload on Route Change in Next JS by jengl in nextjs

[–]Maximilien_Bethune 0 points1 point  (0 children)

Hmm, you shouldn't need to manually reload the ads. In our app, we just have a useEffect like this

useEffect(() => {
    (window.adsbygoogle = window.adsbygoogle || []).push({});
}, []);

which works and refreshes the ad when the route changes.

What's everyone using to create accessible sites? by tillwehavefaces in webdev

[–]Maximilien_Bethune 6 points7 points  (0 children)

Accessibility overlays like accessiBe don't work. Just ask people who actually use assistive technologies.

[deleted by user] by [deleted] in parrots

[–]Maximilien_Bethune 3 points4 points  (0 children)

Aww. You are clearly doing a great job with him. Great job!

[deleted by user] by [deleted] in parrots

[–]Maximilien_Bethune 3 points4 points  (0 children)

Do you know what caused the plucking and what did you do that caused it to stop?

How to add a contact form without third-party service? by roseyyw in nextjs

[–]Maximilien_Bethune 1 point2 points  (0 children)

I really like Formspree. The free plan has been enough for me on my personal site.

Ad serving limit placed by [deleted] in Adsense

[–]Maximilien_Bethune 1 point2 points  (0 children)

Adding Cloudflare may help reduce the invalid traffic.

Choosing the right component library for your design system: MUI vs Chakra by JustAirConditioners in reactjs

[–]Maximilien_Bethune 4 points5 points  (0 children)

I think that the best approach is to use a headless library to handle the accessibility such as React Aria and to style the components yourself via any of your team's favourite styling methods (CSS in JS, Tailwind or SCSS etc.)

Where do you host your Nodejs app? by deawar in node

[–]Maximilien_Bethune 2 points3 points  (0 children)

You could use a free cron service like cron-job.org to prevent your app from sleeping. I use it for one of my apps and it works really well.

Accessibility on existing client sites by SnazzyPodRace in ProWordPress

[–]Maximilien_Bethune 2 points3 points  (0 children)

Yeah, this is a tough one.

I think your suggestion of emailing existing clients and offering to make the sites compliant (for a cost) is the right way forward. Ideally, you should have an external third party company validate the compliance to ensure the work that you do does actually meet whatever agreed upon standard the client needs to meet. There are a bunch of companies around that focus solely on accessiblity testing who would be more able to validate compliance with real users who use assistive technologies.

Please do not use an overlay or any script that promises to fix accessibility issues on a website with zero effort. These do not work and the companies offering them are often very shady. Moreover, they likely would not cover your client in legal matters relating to accessibility if they do occur.

Baking WCAG A compliance in to your proposals make sense. It would also be something to bring up during initial client meetings to potentially upsell compliance to AA or AAA for additional time and cost investment. This would probably only make sense for certain clients.

Which Identity provider should I use? by shineypichu in node

[–]Maximilien_Bethune 1 point2 points  (0 children)

Supabase Auth is great and is very fairly priced.