Webpacker
react_on_rails_demo_ssr_hmr
Our great sponsors
Webpacker | react_on_rails_demo_ssr_hmr | |
---|---|---|
54 | 2 | |
5,311 | 85 | |
-0.1% | - | |
4.6 | 5.4 | |
7 days ago | 3 months ago | |
Ruby | 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.
Webpacker
-
Asset Pipeline JS Migration
Using Webpacker in Rails provides several advantages over the traditional asset pipeline. First, Webpacker uses JavaScript modules, which allows for better code organization and improved code reusability. Second, it offers modern frontend build tools, such as Babel and PostCSS, for transforming and compiling assets. Third, it provides faster build times and faster runtime performance through code splitting and lazy loading. Fourth, it offers better integration with JavaScript frameworks such as React, Vue, and Angular. Overall, Webpacker offers a more flexible and modern asset management solution for Rails applications. And while Webpacker is being retired, this initiative is to consolidate our code accordingly before moving our bundler to another solution.
-
Thank you Webpacker, Goodbye Webpacker
This article is replace Webpacker with Simpacker and webpack.
- Is enabling full source maps in production a wise default? (2017)
-
How to setup ruby on rails + Angular
in ruby on rails 7 what is the best way to properly install Angular because I can't find any documentation about it. The only tutorial that exists uses webpacker (https://github.com/rails/webpacker) but unfortunately it is no longer supported and no longer up to date in terms of security.
-
What is the pros and cons of using Rails asset pipeline vs. webpack to hold assets?
From the webpacker gem:
-
Webpacker can’t find application.js - fix or bypass completely?
Check this: https://github.com/rails/webpacker/issues/2825
-
Using Rails+ReactJS with Webpacker on VS Code?
instead of using webpacker you should move to esbuild or importmap. Webpacker has been retired a few months ago (cf https://github.com/rails/webpacker) There are videos explained how to set this up (e.g. for importmap https://learnetto.com/tutorials/how-to-use-react-with-rails-7
-
Moving from BS4 to BS5 in Rails 6, having unexpected results
Took me 2 days to find this bug report: https://github.com/rails/webpacker/issues/3188 (thanks again tagliala)
-
Webpacker 6 development continues as shakacode/shakapacker
But it's there in the webpacker README now, if anyone hasn't seen it. https://github.com/rails/webpacker
- Webpacker Has Been Retired
react_on_rails_demo_ssr_hmr
-
Webpacker 6 development continues as shakacode/shakapacker
I'm the maintainer of Shakapacker! I'm looking forward to lots of great improvements coming soon, such as support for SWC: @tomdracz please make a PR for https://github.com/shakacode/react_on_rails_tutorial_with_ssr_and_hmr_fast_refresh!
-
Webpacker Has Been Retired
Here's the official fork: https://github.com/shakacode/shakapacker.
You can see an example of migration in this PR: https://github.com/shakacode/react_on_rails_tutorial_with_ss....
Thoughts?
What are some alternatives?
shakapacker - Use Webpack to manage app-like JavaScript modules in Rails
esbuild - An extremely fast bundler for the web
quickstart-rails-tailwind - Start building rapidly with quickstart-rails-tailwind.
Asset Sync - Synchronises Assets between Rails and S3
kickoff_tailwind - A rapid Rails 7 application template for personal use bundled with Tailwind CSS
Sprockets
rails-vue-app - webpackerを使用して rails + vue のアプリケーションを作成するチュートリアル
turbo-rails - Use Turbo in your Ruby on Rails app
Rails-API-React-Tutorial - 📱 A Rails 6 API backend React JS + Webpacker guide. Includes API setup, serializers, and react integration in the frontend. 🌲
jsbundling-rails - Bundle and transpile JavaScript in Rails with esbuild, rollup.js, or Webpack.
graphql-ruby - GraphQL Ruby example for How To GraphQL