rails-template icon indicating copy to clipboard operation
rails-template copied to clipboard

Create Preact variant

Open mischa-s opened this issue 3 years ago • 2 comments

For most the applications that get built using this template, Preact would be more performant option than React. We should therefore look at either replacing the React variant with Preact or at least have a Preact variant

mischa-s avatar Feb 25 '22 02:02 mischa-s

I'm hoping #307 will make this easier, though I'd also be interested in seeing some actual real world comparisons with some of our existing apps showing how much of a difference it makes.

G-Rath avatar Jul 03 '22 01:07 G-Rath

fwiw I think it's too early to consider making a variant for Preact.

React (for better or worse) is the defacto choice and has the weight of a large community behind it - lots of available training, guides, SO answers etc. I understand that Preact is almost React but it's not exactly the same. I think we would really need to be able to show significant wins vs React for it to become a default choice and make all our present and future Rails devs keep up with the potentially diverging evolutions of both projects.

eoinkelly avatar Jul 23 '22 01:07 eoinkelly

Discussion outcome:

  • We are not ready to introduce Preact as a default for our apps. We will continue to experiment with it on apps.

eoinkelly avatar Oct 20 '22 21:10 eoinkelly