SWR
Joplin
Our great sponsors
SWR | Joplin | |
---|---|---|
243 | 771 | |
29,383 | 42,770 | |
1.4% | - | |
8.4 | 9.9 | |
13 days ago | 5 days ago | |
TypeScript | TypeScript | |
MIT License | GNU General Public License v3.0 or later |
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.
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
Joplin
- Ask HN: What is your approach for managing personal digital assets?
- Joplin is an open source note-taking app
-
My productivity app is a never-ending .txt file
I've had great success with using Joplin for this, with Syncthing as a sync backend. Works well across OSes; I use it on Linux, macOS, Windows and Android.
https://joplinapp.org/
-
Why I Like Obsidian
The tools to manipulate SQL aren't that bad, no.
But rather than having a self explanatory markdown & flat file, now I have to start learning about the schema & making specific tools (in my preferred language) for manipulating Joplin's schema.
Suddenly I'm digging through 20 different technic specs to decode what data is where, how it works, and what I can do to it. Want to edit history? This is the best help you'll get, pray it's adequately technical to expedite you to your purpose: https://github.com/laurent22/joplin/blob/dev/readme/dev/spec...
As I began with, I struggle to imagine anything that generates anywhere near as much user agency as flat files and markdown. Having boring common data & systems lets me apply portable skills I already have, rather than having to skill up in some particular product's own ecosystem.
-
IAC sold 17 apps to Bending Spoons. $100M deal, all 330 employees fired
Joplin is a good open source option too, feels more like the original Evernote in terms of UI/UX https://github.com/laurent22/joplin/
-
Ask HN: What do you use for note-taking or as knowledge base?
Joplin, an open source, extendable, Markdown-based hierarchical note-taking app: https://joplinapp.org/
It lets you choose a synchronization backend, offers applications for every major desktop and mobile OS (also has a terminal version). You can create notebooks and subnotebooks to organize your notes. You can also add tags for better search experience. I created notebooks for specific domains (work-related, home improvement, etc.) and also keep a "temp" for quick notes and W.I.P. snippets.
Its only con that it uses Electron on desktop which causes relatively slow start of the application.
-
Joplin VS Einwurf - a user suggested alternative
2 projects | 20 Dec 2023
- PSA to Evernote Free users: 2 similar FREE apps to migrate to (I hope this post can end these questions so we can leave this sub's users in peace!)
- Evernote alternatives?
-
Evernote Pre Mortem
done
What are some alternatives?
axios - Promise based HTTP client for the browser and node.js
Trilium Notes - Build your personal knowledge base with Trilium Notes
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]
obsidian - GraphQL, built for Deno - a native GraphQL caching client and server module
redux - A JS library for predictable global state management
notesnook - A fully open source & end-to-end encrypted note taking alternative to Evernote.
zustand - 🐻 Bear necessities for state management in React
Boostnote - This repository is outdated and new Boost Note app is available! We've launched a new Boost Note app which supports real-time collaborative writing. https://github.com/BoostIO/BoostNote-App
redux-toolkit - The official, opinionated, batteries-included toolset for efficient Redux development
logseq - A local-first, non-linear, outliner notebook for organizing and sharing your personal knowledge base. Use it to organize your todo list, to write your journals, or to record your unique life.
redux-saga - An alternative side effect model for Redux apps
QOwnNotes - QOwnNotes is a plain-text file notepad and todo-list manager with Markdown support and Nextcloud / ownCloud integration.