Comments (17)
Svelte beginner here. Not sure if can do this fully on my own, as i have not much idea about routing and data access part. But will be happy to contribute to the project.
from realworld.
@esakkiraj just updated issue status w/ gitter room! Also, created this logo you can use for the readme:
from realworld.
Yes! This sounds like a great idea. I'm on vacation at the moment but let me see if anyone out there is up for making a start on this
from realworld.
@EricSimons Okay then. I will start working on this. π
from realworld.
@esakkiraj ping me if you need any help
from realworld.
@esakkiraj Have you forked the starter repo yet? If so, can you drop a link so we can add it to this issue?
from realworld.
I think this is basically done β if you could add it to the official list, that'd be great, thanks!
A question: how much freedom do we have to interpret the requirements? I ask because I have an alternative version here: https://svelte-realworld-oegnyylkph.now.sh. (It seems to be a bit flaky at the moment but I think that's https://conduit.productionready.io/api, which appears to be having some problems β other implementations seem to be affected too).
The main difference is that there are some new routes:
/feed/latest/[page]
(replaces/
)/feed/global/[page]
/tag/[name]/[page]
/user/[username]/posts/[page]
(replaces/@[username]
)/user/[username]/favorites/[page]
(replaces/@[username]/favorites
)
As well as deeplinking, this makes it easy to server-render those pages (with Sapper, you get SSR for free), and prefetch them when the user is about to tap on a link. Personally I think it results in a snappier-feeling app than flickering between an article list and '...loading articles', though that's possibly subjective.
from realworld.
@esakkiraj okay! I say go ahead and get started, and when you run into things you need help on, lets ping @Rich-Harris and see if he (or someone he knows in the Svelte community) can help answer your q's :)
from realworld.
@silentworks Sure. Thanks
@BRWR Yes i have forked. Have started the work. But havent' pushed the changes yet. Repo Link
from realworld.
Hey all βΒ just to let you know I spent the day working on a Sapper implementation of this (Sapper is a Next.js-style framework for Svelte that's currently in development).
- Repo β https://github.com/sveltejs/realworld
- Demo β https://svelte-realworld.now.sh/
It's not quite finished, but it's most of the way there.
from realworld.
@Rich-Harris woah, this is awesome! Great work! Lmk once it's completely there and I'll list it on the main readme π
from realworld.
@Rich-Harris awesome work! Adding this to the readme now π
Btw what problems are you running into with the public API endpoint? We haven't seen/heard of any issues with it as of late π€
from realworld.
Thanks!
I'm seeing a lot of this sort of thing, but it's sporadic and unpredictable:
from realworld.
Wow, super weird - cc/ @apai4 (creator/maintainer of the public api server)
BTW all of your ux/route/etc changes are totally fine- forgot to mention that in my last comment :)
from realworld.
@Rich-Harris @EricSimons the 429 error is from rate limiting on the API to help prevent spam/abuse, since every once in a while the front pages get flooded with inappropriate content. I just increased the number of requests per minute allowed so let's see if that decreases the number of errors we see.
from realworld.
@apai4 thanks β that may be partly my fault then, Sapper can do prefetching of links when you mouseover them (with <a rel=prefetch...>
) which was presumably triggering too many requests as my mouse brushed over articles/pagination links. Will experiment with removing rel=prefetch
or tweaking the behaviour to e.g. prevent prefetching while the mouse is still moving.
BTW all of your ux/route/etc changes are totally fine- forgot to mention that in my last comment :)
Thanks β will switch it over to the new branch once I've made those prefetch changes.
from realworld.
Shouldn't this be removed from the work in progress section as it's alreaday in the "frontend grid"?
from realworld.
Related Issues (20)
- [SWAGGER] register and login response schema issue HOT 1
- [Bug]: Line breaks not showing correctly HOT 1
- [Bug]: Immediately signed out after logging in HOT 3
- [Backend] Remove Response Envelopes HOT 5
- [Bug]: When try to build HOT 5
- User registration success status code is 200, but docs/swagger show 201 HOT 1
- [Bug]: server ERROR 500 HOT 2
- [Bug]: CORS Error HOT 9
- [Feature Request]: offline functionality HOT 2
- [Bug]: Demo server status is 503 HOT 1
- [Feature Request]: Vuetify in Realworld example HOT 1
- [Bug]: Continuous modification of user information results in an error HOT 4
- Try this HOT 1
- [Bug]: demo APIs down? HOT 2
- [Bug] initialData.data from route loader is always undefined HOT 1
- API server doesn't work HOT 1
- [Bug]: Heroku Deployment failed
- [Bug]: API doesn't work HOT 4
- [Bug]:CORS Issue HOT 1
- [Bug]: Demo backend is down HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from realworld.