hyper-react icon indicating copy to clipboard operation
hyper-react copied to clipboard

Make Ruby Racer Optional

Open catmando opened this issue 8 years ago • 2 comments

Instead of requiring ruby racer we should:

Check if it is present, if so use it for prerendering (if prerendering config is on) if not present and prerendering config option is on, then print an warning, that prerendering is being turned off. if not present and prerendering config is off, then no action is needed.

Note: prererending config is on by default.

catmando avatar Sep 26 '17 20:09 catmando

Can't Node be used if present? I feel like that's what other tools do and therubyracer isn't recommended.

sfcgeorge avatar Sep 27 '17 13:09 sfcgeorge

Node cant currently be used, as in prerendering hyperloop calls back into ruby rails context, which node currently cant do. But therubyracer is upgraded to mini_racer.

janbiedermann avatar Dec 11 '17 11:12 janbiedermann