awesome-go-orms
universal-router
Our great sponsors
awesome-go-orms | universal-router | |
---|---|---|
4 | 1 | |
513 | 2 | |
- | - | |
7.7 | 2.1 | |
6 days ago | over 2 years ago | |
Go | TypeScript | |
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.
awesome-go-orms
- Go and PostgreSQL
-
Show HN: React Routing in 120 lines (including comments)
> we'd see the same problem everywhere at the same scale
we do. Every C app implements its own linked list or hash table library. The entire Scheme community is nothing but toy interpreters of various stages of completeness (you can tell a project is serious when they implement call/cc). How many game engines do you think exist? It's a meme that game devs like to spend more time on their pet game engine than actually making their game. How many ORMs do you think exist for ? At least half a dozen. At least. For any given language. Python, Ruby, Go[1]. ORMs, in particular, seem to get created over and over again. Probably because they are trivial to implement and allows one to voice their opinions on SQL abstraction (bike shedding).
[1] https://github.com/d-tsuji/awesome-go-orms
-
Top Go ORMs
I created a PR to add Ent to the list. See https://github.com/d-tsuji/awesome-go-orms/pull/8
universal-router
-
Show HN: React Routing in 120 lines (including comments)
I use it like that and I am pretty happy with it.
There's one thing, you should redirect all the pages to one single endpoint in server side order to use "pushState". Otherwise it will return 404 when you hit the refresh button. If you don't own a server, you can support routing with hashtag "#" and listen to "onhashchange" event instead of "popstate".
Also, if you would like to support nested and dynamic routes (it's not possible with that code snippet in the github repository since it just checks like `path===currentPath`), you might look at the following solution:
https://github.com/fatih-erikli/universal-router/blob/main/u...
I use that solution in server-side and client-side so it works like Nextjs.
What are some alternatives?
sqlc - Generate type-safe code from SQL
react-snippets - A sample of useful snippets in React
crossroad - 🛣 A React library to handle navigation in your WebApp. Built with simple components and React Hooks so your code is cleaner.
awesome - 😎 Awesome lists about all kinds of interesting topics
todomvc - Helping you select an MV* framework - Todo apps for React.js, Ember.js, Angular, and many more
go-formatter - A curated list of awesome Go frameworks, libraries and software
wouter - 🥢 A minimalist-friendly ~2.1KB routing for React and Preact
podium - A leaderboard backend using redis
react-simplest-router - simplest router for React
go-redis-ranking - Ranking system using Go and Redis.
page.js - Micro client-side router inspired by the Express router