You Can Create Beautiful Modern Emails With React!

Поділитися
Вставка
  • Опубліковано 3 січ 2025

КОМЕНТАРІ •

  • @developedbyed
    @developedbyed  Рік тому +32

    Sorry to keep delaying the Astro video, it will be good I promise 💖
    So how do you guys do emails? I think react-email looks quite promising tbh and I will keep my eyes on it

    • @49thparallelgaming
      @49thparallelgaming Рік тому

      What monitor do you use that is off to the side in the video ?

    • @IronShorts94
      @IronShorts94 Рік тому

      hello sir I am from India , I always watching your videos .

  • @CottidaeSEA
    @CottidaeSEA Рік тому +39

    If you were around back in the early 00s, you'd already know how to create emails. Tables, baby!

    • @badcatdesign
      @badcatdesign Рік тому +6

      or perhaps more accurately, tables within tables within yet. more. tables. 😭 soon though, once the new outlook render engine takes over, I hear tables will be a thing of the too recent past-- let's hope.

    • @airforcerawker
      @airforcerawker Рік тому +1

      @@badcatdesign I'll believe it when I see it...they've been super stubborn about it for years.

    • @CottidaeSEA
      @CottidaeSEA Рік тому +1

      @@badcatdesign Honestly, I don't find it all that bad even now. You can't use convenient stuff like flex or grid, but using tables and inline elements properly, you'll still be able to achieve nice results. Unless you need overly specific positioning, multiple tables isn't really necessary. You can also use some good old deprecated HTML attributes as they all have good support to adjust the sizes of the columns.
      I think the issue is more that it's kind of a lost art since modern CSS is far more convenient to use as you can make broad, sweeping adjustments far easier, instead of using inline-styling for each element. Some of the things that were kind of tricky like positioning details also became a lot easier with position: relative and position: absolute.
      Also, I do want to be optimistic about the new render engine, but just like IE11 was what held web development back, iOS is the new IE11. Now it's an entire operating system that is problematic because they enforce usage of their own components even in a browser like Chrome, which means the same version of Chrome can be completely broken just because of the operating system.

    • @MrBa143
      @MrBa143 Рік тому +2

      @@CottidaeSEA Oh boy i love me some tables. Been the designated email coder at work and i've gotten lost in my nested tables so many times. I've resorted to basically just make emails that look pretty on outlook, gmail & spark, and then every other client will get what they get. Some clients are simply impossible (windows 10 mail desktop app) just renders the text and says fuck you to everything else.

    • @CottidaeSEA
      @CottidaeSEA Рік тому

      @@MrBa143 Yeah, just like with browsers you kind of have to choose how compatible you want things to be.

  • @couragic
    @couragic Рік тому +13

    Hmm, you have subfolder “strapon” in “LEARNING” folder.. do you plan make a video on that ? ;)

  • @Brlitzkreig
    @Brlitzkreig Рік тому +2

    You have such a lovely personality. You always put me into a better mood!

  • @Ben0Bertels
    @Ben0Bertels Рік тому

    "Hello there... Jonathan...hmm, fuk it Jonathan" 😂

  • @JadeclonOfficial
    @JadeclonOfficial Місяць тому

    And what if I've only got a simple React Frontend and a ExpressJs Backend? Do I have to install react on my backend then?

  • @AnkitKumar-tp8hc
    @AnkitKumar-tp8hc Рік тому

    How can we add media queries in react-email?

  • @KaranSethia24
    @KaranSethia24 Рік тому

    will this work with plain react and express?

  • @kennedyfreitas7548
    @kennedyfreitas7548 Рік тому

    can i create a newsletter using this?

  • @ricardovazquez2274
    @ricardovazquez2274 Рік тому

    First thing i heard about html emails, theres a lot of opportunities to get hired in this, any change to get a course about this?

  • @eliyahutarab4862
    @eliyahutarab4862 Рік тому +2

    Thank you for that, can you do something with webRTC and React

  • @Rodrigo-nx4fg
    @Rodrigo-nx4fg Рік тому

    is there a way to just export the react code in html with tables? (for use it in another mailing platform)?

    • @vincentnthomas1
      @vincentnthomas1 Рік тому

      You can render it whereever, for exemple aws ses

  • @weirddev
    @weirddev Рік тому

    Sometimes the email sent does not look like the preview

  • @gustavoh5143
    @gustavoh5143 Рік тому

    can i create a e-mail using it and then send it by my api?

  • @pavel294
    @pavel294 Рік тому

    Hi, please is there any diference when I use , tags instead of importing and using it like you?

    • @_DavidHimself
      @_DavidHimself Рік тому +2

      Because you're using the @react-email package, you want the components they are exporting instead, as it may have logic inside the component that makes things work nicer with the email.
      Using basic tags will just give the basic element without anything fancy

  • @chinmayghule8272
    @chinmayghule8272 Рік тому +2

    Which VS Code extension gives the size of the imported components? (the 'gzipped [X]kb' part)

  • @clarinet800149
    @clarinet800149 Рік тому

    Is there a benefit to using this over MJML?

    • @airforcerawker
      @airforcerawker Рік тому

      Nope. IMO it's overly complex...email development isn't web development. It's cool but not necessary.

    • @siddhant2002
      @siddhant2002 Рік тому

      MJML is all you need

  • @konstantinreut2577
    @konstantinreut2577 Рік тому

    TypeError: Cannot read properties of null (reading '1'). This error message appears when I choose one of the email template. Anybody knows how to fix it?

  • @tadakuniyasuda8214
    @tadakuniyasuda8214 Рік тому +1

    wow did you upgrade quality of video? you are even more beautifuler than usual

  • @nyk_builderz
    @nyk_builderz Рік тому

    Great video, Ed!

  • @benjohnson5164
    @benjohnson5164 Рік тому

    Anybody else running into Next 13 expecting the email template component to be flagged "use client," and being blocked from rendering the component in the API endpoint in your Resend request? This is giving an error: "Attempted to call the default export of from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component." Pretty new to Next so might be an easy fix, but it's got me stumped today. If I run a Test Email SSR component without react-email/components happening I get everything working as expected, so I know it's the client vs server thing causing the issue.

    • @aymanechaaba
      @aymanechaaba Рік тому

      I got the same error, he invoked the function which was not how it was done in the docs. they added the component as an html tag.

  • @StephenProvenzano
    @StephenProvenzano 10 місяців тому

    As an email dev of 11 years, please test your renders on litmus or email on acid before sending any emails. This isnt going to be a magic bullet.

  • @devkaul
    @devkaul Рік тому +1

    That''s pretty neat!

  • @sanderluis3652
    @sanderluis3652 10 місяців тому

    SLOOOOOOOOOOOOOOW with tailwind omg!

  • @nileshrathod2163
    @nileshrathod2163 Рік тому +1

    Hi buddy, What extension you should used for VS code Theme?

  • @EdrisRanjbar
    @EdrisRanjbar Рік тому +1

    love your video maaaan. grrreat.

  • @alexg7282
    @alexg7282 Рік тому

    Thank you ! Very useful

  • @vladrileynavilys
    @vladrileynavilys Рік тому +2

    Hi, can you make a video on how to send emails? it's for my mom. Tanks! Bye!

    • @IStMl
      @IStMl Рік тому

      i think you need a stamp first

  • @BG-fo4si
    @BG-fo4si Рік тому

    This is super helpful

  • @sherwinhulley4921
    @sherwinhulley4921 Рік тому

    Poor Jonathan lmfao hahahaha!

  • @capybarararara
    @capybarararara Рік тому

    30mb weight library...

  • @MatteoSoresini
    @MatteoSoresini Рік тому

    amazing video but with only react.js won't work

  • @icoderdev
    @icoderdev Рік тому +1

    Thanks ❤❤❤❤❤

  • @mr__atiur
    @mr__atiur Рік тому +1

    Nice🎉 thanks bro

  • @eseseis7251
    @eseseis7251 Рік тому

    or avoid everything and write it manualy anyway. mda

  • @Misterbobbie
    @Misterbobbie Рік тому

    Why would you decide to use TS instead of JS in a JS library, this is fucked.

  • @orsoninsp
    @orsoninsp Рік тому +1

    thank youuuuuuuuuuuuuuuuu💗💗

  • @proteus1
    @proteus1 Рік тому +2

    Be better if you slowed down and researched before doing the video.

  • @BukkyOdunsi
    @BukkyOdunsi Рік тому

    I love you man

  • @FilipLapvetelainen-wq2wq
    @FilipLapvetelainen-wq2wq Рік тому

    I wonder what Jonathan did to you 🤣

  • @MyBaBB
    @MyBaBB 6 місяців тому

    That's a Goody , 👍

  • @davidewing6833
    @davidewing6833 Рік тому +1

    🤔Hmm. I don't like that their styling and creating layout for these email templates using HTML tables.

    • @cahva2
      @cahva2 Рік тому

      Well you kind of need to or they wont work in various email clients.
      In email html you need to use tables, inline styles and all those goodies from late 90's

    • @airforcerawker
      @airforcerawker Рік тому

      All you need is MJML to get started. Much simpler than using React for email. Email is simple. It's not web development.

  • @backonrun626
    @backonrun626 Рік тому +1

  • @dev_franqqi
    @dev_franqqi Рік тому +1

    Second

  • @jameslindley1564
    @jameslindley1564 Рік тому +1

    Why do you try and simplify everything. In a corporate environment nothing is as simple as you state 😢

  • @NotYour_Gurlyy
    @NotYour_Gurlyy Рік тому +1

    we are graphics designers if you want any service like thumbnails, video editing so contact us