inertia-rails
inertia
inertia-rails | inertia | |
---|---|---|
4 | 121 | |
362 | 5,751 | |
1.7% | 1.1% | |
5.5 | 7.9 | |
7 days ago | 4 days ago | |
Ruby | PHP | |
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.
inertia-rails
-
Seeking Advice: Built a Successful Website on Rails, Facing Partnership Dilemma and Considering Switching to Laravel
I'm assuming your friend's comment about React/Laravel is referring to Inertia.js, which is a commonly used library in the Laravel community. If thats the case, Inertia is also available for Rails: https://github.com/inertiajs/inertia-rails
-
React inside Rails App
I'd like to recommend Inertia.js. it essentially adds JavaScript frameworks as a view layer and seamlessly hands data off from your controllers to your react components. You don't need to maintain an API or set up GraphQL. It can be added to your project alongside your existing views. I've been using it for a few projects and I love it.
-
Setup Inertia and Svelte on Rails-7
Svelte is handled as a competetitor of react. It es easier to learn, no virtual dom. Together with inertia-rails its well connected to the backend and you can use the rails-router. JavaScript and html are together in a .svelte file.
-
From Rails + jQuery app to Rails API + Frontend Framework.
Here's an example app using [Vue.js in Rails](: https://github.com/ElMassimo/pingcrm-vite), which uses Inertia.js to provide a SPA-like experience. What's nice about it is that you could try it in a single page/endpoint, and will still integrate nicely with the rest of your application.
inertia
-
Should I rebuild my web app as an SPA?
You mention that implementing Vue with Laravel is a headache but without mentioning what kind of issues you have had? Have you looked into using Inertia.js? (https://inertiajs.com/)
- where can I find information about using vue and php together?
-
Up-to-date methods of using Vue with Laravel in a non-SPA way?
Inertia is what you're looking for, works great!
-
Ask HN: What are some unpopular technologies you wish people knew more about?
Don't know if https://inertiajs.com can be classified as unpopular. but I think it's one of the best web solution combining the best of the both worlds ssr and spa.
-
SQLSync – Stop Building Databases
But, if I can be honest, solutions such as Hotwire or Livewire are not as snappy as a SPA.
I personally prefer [InertiaJs](https://inertiajs.com), which is some kind of front-end router system with its state synced with the server in an "old style" fashion.
- Build single-page apps, without building an API
- InertiaJs: Build single-page apps, without building an API
-
An Internet of PHP
[2] https://inertiajs.com/
- Inertia.js – The Modern Monolith
- InertiaJS – Single-page apps, without building an API
What are some alternatives?
hotwire-rails - Use Hotwire in your Ruby on Rails app
laravel-pwa - Looks like an app, feels like an app, but IS NOT an app.
pingcrm-vite - ⚡️ PingCRM on Vite Rails - A Vite.js + Inertia.js + Vue SSR + Rails demo
vite - Next generation frontend tooling. It's fast!
Svelte - Cybernetically enhanced web apps
astro - The web framework for content-driven websites. ⭐️ Star to support our work!
htmx - </> htmx - high power tools for HTML
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
vercel - Develop. Preview. Ship.
turbo - The speed of a single-page web application without having to write any JavaScript
Stimulus - A modest JavaScript framework for the HTML you already have
Symfony - The Symfony PHP framework