Git Product home page Git Product logo

Comments (4)

tjacobs avatar tjacobs commented on September 17, 2024

Oh nice!
Now I capitalized the userID properly, TeleportConnect instead of teleportconnect, and generated a token from that page, the TypeScript one loads up in my browser!

from website-react-examples.

tjacobs avatar tjacobs commented on September 17, 2024

Of course now the add channels button does nothing when I push it:

Screenshot 2023-03-04 at 11 54 33 AM

from website-react-examples.

tjacobs avatar tjacobs commented on September 17, 2024

Ok I managed to manually add the user to a channel from the admin dashboard, but error on chatting:

Screenshot 2023-03-04 at 11 59 55 AM

from website-react-examples.

tjacobs avatar tjacobs commented on September 17, 2024

Ok I got it running on my server. For some reason the channel is not showing up when running on the server but I'll worry about that next.

I'd like to make one small text change to the web app, changing "You have no channels currently" to just "No channels".

After much searching, I found that string was not in the src at all.

It's in some code that isn't even in my source control.

It's in:

vi node_modules/stream-chat-react/dist/components/EmptyStateIndicator/EmptyStateIndicator.js

Anyway, changing the text in there, and then running:

yarn start

Results in the web app not having that string changed. What gives?

Ok when I run yarn build now I get this inscrutable JS error:

Screenshot 2023-03-05 at 1 01 53 PM

Screenshot 2023-03-05 at 1 03 56 PM

Anyway, so how am I expected to change this text? Am I meant to pull that component into my source and then reference it from in there somehow?

Ah! Now I have run yarn build, and restarting my browser, yarn start now has the change I made. WHAT THU? who cached it?

React seems.... not great.

from website-react-examples.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.