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!

Reply

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.

Reply

Thanks Isaac!

I'll look into lightbox navigation.

Reply

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

Reply

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

Reply


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.

Reply

99papers website was w numerous facts about their work, reputation and quality of the customer support. I will never delegate my papers to their writers!

Reply
Join the discussion

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

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

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

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

    © 2023 GoRails, LLC. All rights reserved.