Fork me on GitHub
#figwheel-main
<
2018-07-17
>
Empperi11:07:34

ok, could someone give me a short list of improvements in figwheel-main compared to the old one?

Empperi11:07:55

can't find such a list from figwheel or figwheel-main repos etc

Empperi11:07:25

with the exception of course that it is a complete rewrite

dnolen12:07:11

it emulates the interface of cljs.main and goes a bit further

dnolen12:07:45

it’s also clear it’s much easier to use as a library and the various parts are separated (REPL vs. building)

Empperi12:07:04

roger, so currently it's more about more sensible architecture than about features, correct?

Empperi12:07:47

need to look at it at some point, right now old figwheel works really well for me via user.clj inside normal Clojure REPL

Empperi12:07:01

was just curious when I heard there's this new version (had missed that). Naturally my next project should start with figwheel-main if I can integrate my flow with that

dnolen12:07:47

replicating cljs.main is actually a lot of work 🙂

dnolen12:07:59

so I would consider that a big feature

Empperi12:07:59

not saying it isn't

dnolen12:07:20

but no, once you’re up and running doesn’t seem that different

Empperi12:07:24

yeah, that's my main point. Currently all I need to do is type (user/start) to start my backend server, figwheel autobuild and watcher, garden watcher etc. If I want to jump from Clojure REPL to ClojureScript REPL I type (user/cljs-repl) and when I want back I type :cljs/quit

Empperi12:07:56

works really nice with Cursive, you can load namespaces between REPLs, Cursive recognizes automatically in which one you are currently and so forth

Empperi12:07:56

so I was wondering how figwheel-main could improve on that and right now it seems like it doesn't. But I can still totally see why it is necessary to do. So, my next project will be with figwheel-main but I'm not migrating old projects to it

Empperi12:07:27

not unless a compelling reason surfaces itself

Empperi12:07:59

nice! Cheers

Empperi12:07:08

was that on figwheel-main repo readme?

Empperi12:07:13

missed that link if it was

bhauman12:07:36

no its in documentation that is currently under development

Empperi12:07:43

roger 👍

bhauman12:07:57

I should probably link to it nontheless

Empperi12:07:09

just wanted to say btw that figwheel transformed my frontend development, I laugh at the node and webpack people these days

dnolen12:07:23

@bhauman nice website! I missed that

bhauman12:07:36

There is a fighweel.main/start method it's mentioned briefly in the README

bhauman12:07:46

@dnolen thanks no link yet

bhauman12:07:05

I'm still churning through documentation

dnolen12:07:11

k I was about to advertise but I’ll let you do that

dnolen12:07:22

btw, figwheel.main went great during the workshop

dnolen12:07:28

the attendees loved it

bhauman12:07:32

well that's good!

bhauman12:07:00

you never know whats going to happen in a situation like that.

dnolen12:07:11

no problems at all

Empperi12:07:18

> Figwheel Main also starts a Node process for you when you launch a build. Does that mean Figwheel main needs node?

bhauman12:07:36

it's just better when you use node

dnolen12:07:35

I was also messing around with Figwheel + Datomic Ions the other day

👀 4
Empperi12:07:43

performance improvements and the fact that you can choose the client where REPL evaluates are great

dnolen12:07:44

I’d call that a killer app combo

dnolen12:07:11

just copy assets to S3, and stop worrying about managing a server

Empperi12:07:32

although I think most of the performance issues I've had come from the cljs compile times (wink wink @dnolen troll )

dnolen12:07:59

@niklas.collin heh yeah, I renewed my OSS YourKit license the other day

Empperi12:07:00

(it's gotten way better over the years)

dnolen12:07:12

actually compile times have gotten worse

dnolen12:07:13

consistently

dnolen12:07:18

start up time has gotten better

Empperi12:07:32

well, overall performance is what matters

Empperi12:07:56

but I'm happy to hear you are working on performance improvements

bhauman12:07:28

but the concept is pretty fantastic

bhauman12:07:45

didn't know about app-sync

dnolen12:07:50

me neither

bhauman12:07:12

amazon produces services faster than the JS community produces build tools

4
john14:07:12

@dnolen did you have a CLJS repl running up on ions?