openreplay
SWR
openreplay | SWR | |
---|---|---|
23 | 244 | |
8,919 | 29,562 | |
2.3% | 1.1% | |
9.9 | 8.2 | |
4 days ago | 12 days ago | |
TypeScript | TypeScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
openreplay
-
Implementing 3D Graphics in React
Uncover frustrations, understand bugs and fix slowdowns like never before with OpenReplay — an open-source session replay tool for developers. Self-host it in minutes, and have complete control over your customer data. Check our GitHub repo and join the thousands of developers in our community.
- Show HN: How Cobrowsing Works in Session Replay
- Show HN: Session Replay for iOS Developers
-
Show HN: Capture and replay React Native sessions
- Optimize user experience: use insights to refine and improve your app’s usability.
Interested? For more details, you can check out the GitHub repo [0] or documentation [1]:
[0] https://github.com/openreplay/openreplay or documentation
[1] https://docs.openreplay.com/en/rn-sdk/
-
Show HN: Tabbing through bugs? One replay to catch them all
Hey HN,
For anyone who uses session replay tools to debug, monitor, or analyze user journeys, this feature might come in handy. OpenReplay — the self-hosted session replay tool that helps developers troubleshoot web apps faster — now supports tabbed browsing.
*Here's how:*
1. Capture and replay user sessions that span across multiple browser tabs, all within a single recording.
2. OpenReplay's tracker communicates across browser tabs, ensuring accurate tracking of each tab, even when duplicated or opened with `window.open` without `_blank`.
3. With "co-browsing", you can watch and support users in real-time and see how they navigate across multiple tabs of your app.
*Why it’s important?*
1. This feature is convenient for developers as it allows them to easily identify bugs by reviewing a complete session in one replay, rather than having to reference multiple recordings.
2. It provides a deeper understanding of the user journey and interactions across multiple tabs in your web app, helping in the comprehension of complex user behaviors and paths.
3. It provides accurate feedback on user tab actions such as opening, switching, and closing tabs, assisting in UX/UI improvements.
Interested? For more details, you can check out the GitHub repo at https://github.com/openreplay/openreplay.
- OpenReplay for Session Replays
- Launch HN: Highlight.io (YC W23) – Open-source, full stack web app monitoring
-
question about open source software
You could maybe get in a scenario where a company rather sneakily changes their license without proper announcement to make usage non-open and billable, but that's pretty rare and bad behavior and that underhandedness may bite them back if it goes to court (I am not a lawyer). That said, it can happen. As an example, see this discussion I opened where the project switched licenses and the maintainers thought it was enough to only really announce this within a 1 hour YouTube video (Rather than their blog or update notes).
-
GitHub: List of open-source alternatives to everyday SaaS products
OpenReplay would not be typically be considered open source. (Which I have raised with them and have since been blocked from their repos).
-
Show HN: We built a ClickHouse-based logging service
How does it compare to OpenReplay ?
> Before deciding on ClickHouse, we were planning to use OpenSearch
You should have tried Quickwit :)
Anyway, sounds like a great project, best of luck!
[1] https://github.com/openreplay/openreplay
[2] https://github.com/quickwit-oss/quickwit
SWR
-
Best Next.js Libraries and Tools in 2024
Link: https://swr.vercel.app/
-
How to Automatically Consume RESTful APIs in Your Frontend
Now, it's time to consume our API. We'll use React for this tutorail, but feel free to use any other framework you prefer; the process remains the same. Additionally, we'll utilize SWR to fetch data from the API and TypeScript to ensure type safety.
-
A day in the life of a developer - Building a dashboard app with SQL, Node.js, Django and Next.js
'use client'; import FormPostUpdate from './components/FormPostUpdate/FormPostUpdate'; import FormDelete from '../app/components/FormDelete/FormDelete'; import { useFetch } from './hooks/useFetch'; import { useFetchSWR } from './hooks/useFetchSWR'; import Chart from './components/Chart/Chart'; export default function Home() { // Uncomment the code below and comment out the "useFetch" code if your want to use SWR for data fetching --> https://swr.vercel.app/docs/with-nextjs // const { data, error, isLoading } = useFetchSWR( // 'http://127.0.0.1:8000/api/anime/' // ); // Uses the Fetch API for data fetching const { data, error, isLoading } = useFetch( 'http://127.0.0.1:8000/api/anime/' ); if (error) return
An error has occurred.; if (isLoading) returnLoading...; console.log(data); return ( <>POST: Add Anime Form
UPDATE: Update Anime Form
Select an ID from the list. You can change the data for Anime ID, Name and Release.
DELETE: Delete Anime Form
GET: Anime Data List
{data.map((anime) => (-
{anime.anime_name}
- ID: {anime.id}
- Anime ID: {anime.anime_id}
- Anime Release Year: {anime.anime_release}
-
-
API Data Fetching in React / Next.js
There are libraries like SWR, RTK Query, and React Query that simplify the data fetching process on the client and take care of the state, error handling, caching, and re-fetching for you.
-
How to Fetch API Data in React
Then install the package SWR into your application with the following command:
-
45 NPM Packages to Solve 16 React Problems
SWR
-
TanStack Query(a.k.a. React Query) v5 announced
I would suggest taking a look at SWR [0]. I think it strikes a very nice balance between using fetch and something more heavy-handed like React Query.
[0] https://swr.vercel.app/
-
Mastering Data Fetching in React: A Comprehensive Guide to SWR
Check out the official documentation for SWR here
-
Angular vs. React vs. Vue.js: Comparing performance
SWR: A React Hooks library for remote data fetching. It supports features like caching, revalidation, error handling, prefetching, pagination, and support for SSG and SSR. Its bundle size is 10kb minified and 4.4kb gzipped
-
Next.js 13 Data Fetching with App Router
SWR Library
What are some alternatives?
PostHog - 🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
axios - Promise based HTTP client for the browser and node.js
rrweb - record and replay the web
react-query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]
Sentry - Developer-first error tracking and performance monitoring
redux - A JS library for predictable global state management
sentry-java - A Sentry SDK for Java, Android and other JVM languages.
zustand - 🐻 Bear necessities for state management in React
asayer-indexeddb - Getting Started with IndexedDB for Big Data Storage
redux-toolkit - The official, opinionated, batteries-included toolset for efficient Redux development
budibase - Budibase is an open-source low code platform that helps you build internal tools in minutes 🚀
redux-saga - An alternative side effect model for Redux apps