Moving away from importmaps to esbuild in Rails 7

  Рет қаралды 5,506

Rapid Ruby

Rapid Ruby

Күн бұрын

Пікірлер: 18
@nicoschonteich1916
@nicoschonteich1916 2 ай бұрын
Thank you! This saved my day.
@PRICEX
@PRICEX Жыл бұрын
Wow thank you for posting this. I have been pulling my hair out trying to figure out why my import maps are screwed up.
@rapid-ruby
@rapid-ruby Жыл бұрын
FWIW I've had reports from others that importmaps work fine in Safari etc, but I still think it's just not as mature a solution yet, and esbuild works brilliantly in my experience!
@sacrac1
@sacrac1 3 ай бұрын
Hi you know the similar video about moving away from webpacker to esbuild in rails 7? Your video is clear to understand
@shrig018
@shrig018 Жыл бұрын
Thanks for the great videos! appreciate them
@far2go375
@far2go375 Жыл бұрын
Could you please create a video on how to handle hotwire turbo frames errors? Pretty Please! 😄
@krzysztofwawer6343
@krzysztofwawer6343 8 ай бұрын
What version of Safari you have been using? Safari has support for import maps
@yoni-3240
@yoni-3240 6 ай бұрын
Can you share more information about your issue? I'm pretty sure that the rails team or someone has that figured out. Like a technical post on stackoverflow or an issue on github would go a long way to clarify this issue. Coming out with a video that just states that importmaps doesnt work on safari is a huge deal and I think does a dis-service to the rails community, without specifying details which would allow it to be addressed.
@rapid-ruby
@rapid-ruby 6 ай бұрын
At the time of the video, importmaps wasnt working in safari, I didn’t have time to debug this or find out why. I’m not hating on importmaps, I think it’s a really good tool! However, I needed to migrate to several of my projects to esbuild because of this issue, and I thought a video on the migration process would be useful. It’s not a video designed to encourage moving to esbuild, just a documentation of the process I was doing myself, if anyone else also wanted to do a similar migration. My own 2cents on what I would choose to use right now, is still esbuild, because I think bundlers have had many more years of battle testing than importmaps, but I’m certainly not against using it, and have no qualms with the rails team or anything like that. Hope that helps!
@mateuszbialowas
@mateuszbialowas Жыл бұрын
I like your videos, keep doing :)
@RohanPoudel
@RohanPoudel 7 ай бұрын
Great Guide
@mateuszbialowas
@mateuszbialowas Жыл бұрын
I checked for my app, and js working on Safari with import maps for me.
@rapid-ruby
@rapid-ruby Жыл бұрын
Are you on the latest version? 16.4? I’m not sure when mine ran into issues, but just silently stopped working, which is frustrating!
@PRICEX
@PRICEX Жыл бұрын
@@rapid-rubysame thing happened to me.
@EricChua-gm9in
@EricChua-gm9in Жыл бұрын
I assume your twitter course is based on importmap?
@user-vw6sc1oj6k
@user-vw6sc1oj6k 5 ай бұрын
terrible solution. going for a bundler is not a fix. you should simply rollback if a release broke something. latest is not always the greatest.
@rapid-ruby
@rapid-ruby 5 ай бұрын
To your point “latest is not always greatest”, is the entire reason I switched that app back to a bundler, because those are a lot more tried and tested than importmaps was at the stage I released this video 😂
How To Use Import Maps with Rails
18:12
GoRails
Рет қаралды 1,9 М.
React SPA With JSX Using ESBuild In Ruby On Rails 7
14:03
Deanin
Рет қаралды 10 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 906 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,2 МЛН
Hotwire: Online user tracking with turbo streams
8:31
Rapid Ruby
Рет қаралды 2,9 М.
Background Processing with Rails, Redis and Sidekiq
15:00
Decypher Media
Рет қаралды 61 М.
Shopping Cart Order Sessions In Rails 7 With Turbo
26:21
Alpha preview: Using React with importmaps on Rails 7
13:29
David Heinemeier Hansson
Рет қаралды 16 М.
How to use ESBuild with JS Bundling in Rails
15:07
GoRails
Рет қаралды 15 М.
Turbocharged realtime search with Ruby on Rails 7
25:55
webcrunch
Рет қаралды 6 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 906 М.