ATFutures / geoplumber

Serve geographic data from R and consume with scalable front end.
https://atfutures.github.io/geoplumber/
59 stars 7 forks source link

babel transpiler slowness #81

Open layik opened 4 years ago

layik commented 4 years ago

There are various issues which are rooted in transpiling (translate/compile) React. I will document those in issues for the future of the package as well.

But at the heart of this is what BabelJS does to the react code and the way "webpack" is built. I do not propose to go around this unless there are good evidence that some sort of other "bundler" such as "gulp" etc can do the job.

Just putting it out here so I can add some data and hopefully someone will offer some insight.

layik commented 4 years ago

Experimental solution to this is what gp_map uses. This is a one file BabelJS and react, this was not the way geoplumber was hoped to be used.

An R powered React frontend application that is kick started by geoplumber R package but continue to grow with or without traces of geoplumber R package.