All threads / Front-end frameworks and Turbolinks
Ask A Question

Notifications

You’re not receiving notifications from this thread.

Front-end frameworks and Turbolinks

Nick McNeany asked in Javascript

Hey Everyone,

I'm having a small problem with the JavaScript components of the Uikit framework and I know it has to do with turbolinks. Here's the gem I'm using Uikit2-Rails.

I followed Chris's upgrading to turbolinks5 episode, but I still can't get them to work after the initial page load, I'm also using jquery-turbolinks.

Does anyone know of a work around for turbolinks and front-end frameworks, or should I just ditch turbolinks?

Thanks for any help!

Sorry that I can't help you, but just wanted to share that today I ditched Turbolinks. I'm using lightbox navigation. Similar to what Pinterest does and since I pushstate manually to change the URL it messed up the back button so I had to remove Turbolinks and now everything works perfect.
I do think that Turbolinks is great, but in some cases it makes problems. I'm sure you can solve yours. The question is how and if it's worth your time.
Good luck either way.

Thanks Isaac!

I'll look into lightbox navigation.

I too was having the same problem. I guess there's no other way but to ditch turbolinks. STonde
Front-end development courses

I am also facing this problem so please suggest the perfect.
Full Stack Developer Course with Placement


If you are looking for a short term graphic design courses and want to know how to make stunning post and graphics then you can join a short term Graphic design Course in Rohini. in this course you will get to know about many graphic design software like photoshop, illustrator and many more.

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 66,029+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2022 GoRails, LLC. All rights reserved.