tailwindcss-jit
hotwire-rails
tailwindcss-jit | hotwire-rails | |
---|---|---|
12 | 98 | |
2,241 | 960 | |
- | - | |
9.0 | 3.2 | |
about 3 years ago | over 2 years ago | |
JavaScript | Ruby | |
MIT License | 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.
tailwindcss-jit
-
How can I use CSS variables in arbitrary values?
I found this GitHub issue where someone wants to use CSS variables for padding, like so: p-[var(--app-padding)]
-
Any opinion about the new Rails 7 frontend assets management ?
Just cruised the JIT docs & code on GitHub (merged into main branch).
-
Ask HN: What novel tools are you using to write web sites/apps?
> add non-default variations (mostly different heights/widths than what it ships with).
Check out https://github.com/tailwindlabs/tailwindcss-jit. It got released 3 weeks ago, and supports variable variables in width and height now.
-
Why Tailwind’s Just-In-Time mode is a game-changer and how to use it right now
About two weeks ago, Adam Wathan announced a new Tailwind experiment: Just-In-Time. In this article, I'll tell you what it's all about, and how you can take advantage of it.
-
React Storybook Environment with TailwindCSS
In the latest Storybook update, we finally got support for PostCSS 8. So, to celebrate this occasion, I've put together a React Storybook environment that includes everyone's favourite utility-first CSS framework: TailwindCSS. The environment also utilizes the TailwindCSS JIT compiler & Webpack 5 to bring the build times as close to instant as possible. And to top it off, the repo includes a simple GitHub action that deploys the Storybook to GitHub pages every time something is pushed.
-
NextJS Landing Page Template Free with Tailwind CSS and TypeScript [Open source]
Tailwind CSS 2.0 with the Just-in-time version
-
Latest & Greatest Combo
It’s not a setup issue. The JIT works differently: there’s no “purging”. And the issue I described is a known problem: https://github.com/tailwindlabs/tailwindcss-jit/issues/71
- An experimental just-in-time compiler for Tailwind CSS
-
Just-In-Time: The Next Generation of Tailwind CSS – Tailwind CSS
Sidestepping the broader conversation, this "JIT tool" is apparently a postcss plugin, which means you have to spawn postcss process (e.g. at every save events or have build tool do the same).
-
Speed up Next.js build with Typescript and Tailwind CSS
Enter @tailwindcss/jit, a drop-in replacement (though not with 100% feature parity yet) that collects the classes used by your files and only generates the requested classes.
hotwire-rails
- It's not Ruby that's slow, it's your database
- Howire Not Working after deploying to Heroku
-
What's New in Rails 7
Applications generated with Rails 7 will get Turbo and Stimulus (from Hotwire) by default, instead of Turbolinks and UJS. Hotwire is a new approach that delivers fast updates to the DOM by sending HTML over the wire.
-
Ask HN: What tech stack would you use to build a new web app today?
For Ajax-y stuff, I am really excited by the new crop of "HTML-as-a-Service" or "HTML-over-the-wire."
https://htmx.org/
https://hotwired.dev/
- Ask HN: Do we need JavaScript web frameworks?
-
anyone have full tutorial how to upgrade from rails 6.1 to rails 7 ?
For all the turbo/stimulus/hotwire mix, you want to add a new feature just for the sake of adding it? or do you have a use case that fits the feature? if you have then you probably already have an implementation with a different technology (stimulus reflex? some custom websockets or ajax implementation? something with anycable?) and you have to check how to migrate from that technology to hotwire. If you just want to use the feature with no real need for it to practice then just pick any tutorial from the internet (like the intro in the official website https://hotwired.dev).
-
Ask HN: What are you favorite goto frameworks when writing Web Aplications
I was recently interested in similar topic. Here are 3 similar solutions I found:
* https://htmx.org/
* https://unpoly.com/
* https://hotwired.dev/
My personal preference is Unpoly (the idea of "layers" is awesome). But the best explanation of concept as a whole (HATEOAS, keeping app state on server using partial page updates, etc) is at HTMX homepage, and in these essays:
* https://htmx.org/essays/hateoas/
* https://htmx.org/essays/locality-of-behaviour/
-
Hotwire isn't only for Rails
At the end of 2020 the Basecamp team released a collection of Javascript libraries called Hotwire. Modern web stacks have popularized javascript-rendered front ends and JSON transmissions. Hotwire's primary motivation is to reduce the Javascript footprint and allow application front ends to be created in primarily HTML. It pairs very nicely with the Ruby on Rails ideology and is often demonstrated in that context. I aim to write a series on how Hotwire can be used in any application to simplify development and reduce the need for heavy Javascript downloads. Hotwire currently consists of two javascript libraries: Turbo and Stimulus. The first part of this series introduces Turbo.
-
How do you handle views?
I've been doing that a while until I just got sock of the JS spagetti and often duplicated code and went full on Angular CSR and never looked back. That being said, I've been seeing a lot recently about Laravel's Livewire and Symfony and Ruby on Rail's integration with Hotwire (stimulus+turbo).
- Why learn Rails as a frontender?
What are some alternatives?
storybook-tailwind - Storybook with Tailwind 2 JIT and PostCSS 8
htmx - </> htmx - high power tools for HTML
Quasar Framework - Quasar Framework - Build high-performance VueJS user interfaces in record time
SvelteKit - web development, streamlined
tailwindcss-rtl - Enabling bidirectional support on tailwindcss framework
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
PostCSS - Transforming styles with JS plugins
Svelte - Cybernetically enhanced web apps
nx - Smart Monorepos · Fast CI
phoenix_live_view - Rich, real-time user experiences with server-rendered HTML
purgecss - Remove unused CSS
inertia-laravel - The Laravel adapter for Inertia.js.