How to implement a Rich Text Editor using DOM Components

Поделиться
HTML-код
  • Опубликовано: 6 янв 2025

Комментарии • 30

  • @isaaccastillo8628
    @isaaccastillo8628 Месяц назад +12

    This is gold! Blessings dear Beto, and all the Expo team!

  • @khitojurassic5249
    @khitojurassic5249 Месяц назад +2

    wow this is amazing!!!, reach native is really the future

    • @ExpoDevelopers
      @ExpoDevelopers  Месяц назад +1

      Thanks! Building cross-platform apps is a lot easier with Expo.

  • @prashant_yi
    @prashant_yi Месяц назад

    Totally great!
    I already implemented this 1 year ago with vite

  • @verawat
    @verawat Месяц назад

    Happy every time when learning and following your VDO tutorial.

  • @josephmgift
    @josephmgift Месяц назад +1

    I really needed this!!!

  • @bahmanworld
    @bahmanworld Месяц назад +3

    this is what i need 😍👍

  • @NativeFX22
    @NativeFX22 Месяц назад +17

    Ohh boy, DOM Components will be so abused.

    • @JustForFunWithMe616
      @JustForFunWithMe616 Месяц назад

      😂😂😂😂😂 I feel you man

    • @readywhen
      @readywhen Месяц назад

      "Incrementally migrate to native"
      *inserts eas config into nextjs project*

  • @Malcolm777-i
    @Malcolm777-i 3 дня назад

    Will this work with SDK 51?

  • @YouGotVexed
    @YouGotVexed Месяц назад +2

    Production ready?

  • @mohtasimb62
    @mohtasimb62 Месяц назад

    This looks awesome! But how is it different from the previous webview? Never used webview in Expo SDK 51 so appreciate any help!

    • @ExpoDevelopers
      @ExpoDevelopers  Месяц назад

      You can have many small web views on the same screen, pass props to the web view, and more. You can learn more in our docs: docs.expo.dev/guides/dom-components/

  • @mycloudvip
    @mycloudvip Месяц назад

    Hi Beto, what if my web app is just made in vanilla JS. Would that work and perform well or the trick is to only have any webpage created with React JS?

    • @ExpoDevelopers
      @ExpoDevelopers  Месяц назад +1

      Ideally, the web view should be created using ReactJS. Then you can also take advantage of passing props and stuff. :)

  • @aghileslounis
    @aghileslounis Месяц назад

    Excellent use case!

  • @LasseNorfeldtKnowit
    @LasseNorfeldtKnowit Месяц назад

    Since the react-native-maps does not support the new architecture yet, it would be useful to demo a 'use dom' example of this. When I tried it I got "DOM Components require javaScriptEnabled"..

    • @kakarnyori5457
      @kakarnyori5457 Месяц назад

      Update expo go app, or use dev client.

    • @ExpoDevelopers
      @ExpoDevelopers  Месяц назад

      Plese try with a development build

    • @Malcolm777-i
      @Malcolm777-i 3 дня назад

      It’s supported if you will not use react-native-map-cluster

  • @dev.j255
    @dev.j255 Месяц назад

    How to implement a expo-camera? It's really buggy

    • @ExpoDevelopers
      @ExpoDevelopers  Месяц назад

      Here's a tutorial: ruclips.net/video/Cw08RqFel6I/видео.html

  • @jhmesseroux
    @jhmesseroux Месяц назад

    Great tutorial ❤
    How can I show the text with the format ? That’s the most important thing .

    • @saidyeter
      @saidyeter Месяц назад +2

      i didnot use the lexical, i used some other wysiwyg editor on a web app.
      but probably this have similar functionality which is view mode. you will need another lexical component without plugins as readonly,
      or you can parse the state and apply styles to rn text component

    • @jhmesseroux
      @jhmesseroux Месяц назад

      @@saidyeter thanks. I will investigate a bit about that .

  • @glpecile
    @glpecile Месяц назад

    Nice, great video as always Beto! I have two questions:
    1. What simulator are you using for android?
    2. Behind the scenes, are web components like small web-view islands? Kinda like how client components work with server components with the "donut pattern" in react 19.

    • @ExpoDevelopers
      @ExpoDevelopers  Месяц назад +1

      1. For Android, I'm using the standard: "Medium Phone API 35"
      2. And yes! You can think of web components as small web views that you can embed in your native app :)