this post was submitted on 11 Jun 2023
70 points (96.1% liked)

General Programming Discussion

7803 readers
2 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 5 years ago
MODERATORS
 

Hi folks!

I am a new convert coming over from Reddit. I want to build out a Lemmy React Native client. Woo!

I'm very familiar with frontend dev and react (been doing so for a solid chunk of my career), however I am quite new to the Fediverse and not entirely sure how to build federated applications.

I see the lemmy-js-client which will likely help me tremendously, but it's not terribly documented.

Anyone else out there hacking on a TypeScript/React based Lemmy client and willing to share notes? :)

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

Awesome! I'm doing the same thing. Yesterday I got login, loading the first page of posts, markdown rendering, and counts for comments and upvotes working.

It's not even to alpha level yet, but once I get something I feel is up to snuff for a first push, the repo is at https://github.com/1hitsong/AOS/

[–] [email protected] 0 points 1 year ago (1 children)

Are you using the Javascript library or going directly to the /api/v3 calls?

I'm playing around with SvelteKit client and I almost prefer going with the raw api calls like the smartphone clients are doing.

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago)

I'm using the JS client - LemmyHttp Class.

Here's what it currently looks like, for those interested.