reddit-frontend
twin.macro
reddit-frontend | twin.macro | |
---|---|---|
2 | 57 | |
27 | 7,805 | |
- | - | |
5.6 | 5.9 | |
9 months ago | 28 days ago | |
JavaScript | TypeScript | |
Mozilla Public License 2.0 | 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.
reddit-frontend
-
Alternatives to Reddit?
Old Reddit Official instance: https://old.reddit.com/ Notes: The only remaining official lightweight UI. Admins claim it will be maintained long term, but who knows. Works fine on desktop. Bad user experience on mobile. /u/palenerd's Compact Reddit Script for Old Reddit Official instance: https://raw.githubusercontent.com/dlmarquis/reddit-compact-tm/main/main.js Notes: Work in progress. Must be installed into an extension-enabled browser (see your options here). Must install the Greasemonkey, Tampermonkey, or Violentmonkey extension into the browser first. Teddit Official instance: https://teddit.net/ Public instances: https://github.com/teddit-net/teddit#instances Libreddit Official instance: https://libreddit.spike.codes Public instances: https://github.com/spikecodes/libreddit#instances Xeddit Official instance: https://www.xeddit.com/ RedditSharp Official instance: https://redditsharp-b7de3.firebaseapp.com/ Updoot Official instance: https://updoot.app/ eddrit Official instance: https://eddrit.com/ Reddit Frontend by junipf Official instance: https://jpf-reddit.netlify.com/ kddit Official instance: https://kddit.kalli.st/ Troddit Official instance: https://www.troddit.com Redditery Official instance: https://www.redditery.com/ RDD Deck Official instance: https://rdddeck.com/ Reddup Official instance: https://www.reddup.co/ Reddit Web Client by premii Official instance: https://reddit.premii.com/ Uforio Official instance: http://web.uforio.com/ Notes: HTTPS doesn't work. Logging in is not recommended. Works fine on desktop. Bad user experience on mobile. Reddium Official instance: https://reddium.vercel.app/
- I never bothered showing this, but it ended up getting me a great job so I figured it might be worth posting. I remade the reddit frontend in React, with all custom components and styles. Live version linked at the top of the page.
twin.macro
-
Tailwindcss in Styled-Components
Twin Macro Github Repo. This is a great resource to help you pick up Twin’s syntax, learn more about the package, and keep up to date with the latest releases.
-
CSS Style Guide for Web Dev?
Personally I like twin.macro the most. It’s similar to the above but based on Tailwind.
-
Cool Tailwindcss Tools For Everyone
twin.macro is a library that allows you to use these styles in your JavaScript code. This library works exactly like styled-components.
- How do you css?
-
Fixing Class Composition in Tailwind CSS
One of the more promising alternatives is twin.macro - a Babel macro that processes Tailwind classes to generate JS objects understandable by various CSS-in-JS libraries. The developer experience (DX) of using it is amazing as you not only get all of Tailwind’s features without much change to your code, but you also get much more flexibility - all that on top of the traditional benefits of CSS-in-JS. Here’s an example code:
-
Setup Nextjs Tailwind CSS Styled Components with TypeScript
twin.macro
-
What unpopular webdev opinions do you have?
If you use Tailwind with React a lot, and are wanting support for Styled Components, give Twin Macro a look. They're close to finishing support for TW v3 in their Releases section :)
- Are utility classes horrible design or am I dumb?
- What's the proper way to write Tailwind with React?
-
Stailwc: an swc plugin for transpiling tailwind directives at compile time
The blocker for us using it is our use of an excellent library called twin.macro which is built against babel's transpilation APIs to parse tailwindcss directives at compile time so that they may be used with css-in-js libraries. This efficiently bundles your css so that you only ship the precise css you use. The problem is, it's all quite slow.
What are some alternatives?
reddish-mern - Simplified ‘reddit’ (popular social-media site) clone. Made using MERN stack.
twind - The smallest, fastest, most feature complete Tailwind-in-JS solution in existence.
emotion - 👩🎤 CSS-in-JS library designed for high performance style composition
Tailwind CSS - A utility-first CSS framework for rapid UI development.
mass-reddit-downvoter - A NodeJS script to mass-downvote comments on reddit
tailwindcss-classnames - Functional typed classnames for TailwindCSS
shareddit-bot - Use shareddit with a reddit bot.
jest-styled-components - 🔧 💅 Jest utilities for Styled Components
reveddit - Review removed content on reddit. Uses the Pushshift API, built on code from removeddit.
vue-emotion - Seamlessly use emotion (CSS-in-JS) with Vue.js
libreddit - Private front-end for Reddit
tailwind-safelist-generator - Tailwind plugin to generate purge-safe.txt files