Skip to content

Synvox/remix-chat-sse

Repository files navigation

Remix SSE chat demo

Mobile Screenshot Mobile Screenshot Mobile Screenshot
More screenshots

Demo Points

  1. Routes
  • Show the 4 _app routes
  • Show the pathless route
  • Show how <Outlet/> works
  • Show how <Link/> works with relative paths
  1. Forms
  • Show the message form with and without JavaScript enabled
  • Show the new thread form with and without JavaScript enabled
  • Show how buttons can have names and values
  • Show how useFetcher works with forms vs <Form>
  1. Actions
  • Show how you can use CTEs to update multiple tables without a transaction
  • Show how you can create getters that look at DataFunctionArgs
  1. useState and useEffect
  • Show that a relatively complex app doesn't need much client side state
  1. Live updates using EventSource
  • Show how resource routes can be used to create a live feed
  • Show how you can use revalidator to validate data on the client
  1. Mobile friendly
  • Show how the app works on mobile
  • Show how you can use scroll snapping to create panels and named anchors to navigate to them
    • Show how this also helps with accessibility
  1. shouldRevalidate
  • Show how you can force a layout route to revalidate if you're doing something weird for a good reason (like updating a read record)
  1. FTS Search
  • Show how you can use FTS to search for messages with highlighting
  1. Sticky list headers
  • Show how you can use position: sticky to create sticky list headers
  • Show how you can group items to make the list header push away when scrolling
  1. Theming
  • Show how you can use CSS variables to theme an app
  • Show how the new rgb function can be used with css variables to create shades
  1. ClassNames and Variants
  • Show how you can build a component library with ClassNames and Variants

About

Example chat app with accessible components and custom design system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published