-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re frame alpha config #43
Conversation
@kimo-k I don't understand adding |
Hey, I hadn't thought of that perspective. From our end, I can say alpha is not going to be removed any time soon. Do you think this would cause breakage for people who don't import |
@kimo-k Once your publish, you're stuck with it because users rely on it. I don't want to break users.
|
This seems hard to agree with. To rely on an alpha - isn't this a contradiction in terms? That said, you made a high-level analysis that I may not fully understand. Also with the bundling options and artifact size, I'm not sure what the ramifications are. Are you sure the impact would be high enough to matter? For my part, I'll try to answer this more directly:
Yes, we would remove alpha eventually, or stub it out, if that's more future-proof. But AFAICT,
I'll have to do some research & figure out how this would look in practice. |
Many people rely on |
Also, in case it matters: once any features pass alpha, they'll merge into |
So what I'm saying: if the namespace is there, it will always be there, but it should imo be optional as to not bloat the size of the "main" stuff. This is why we can make the re-frame.alpha stuff optional but placing it in a different namespace. You can see how that is done for https://github.com/babashka/sci.configs/blob/main/src/sci/configs/reagent/reagent_dom_server.cljs It's pretty straightforward. |
Re-frame has this new alpha namespace since v1.4.0
This reverts commit dca411b.
8793147
to
4ecc19d
Compare
Okay, gave it a try. I assume it's still okay to use |
4ecc19d
to
5299092
Compare
@kimo-k If you try running the playground, then you'll see that it doesn't work yet over there since the configuration must still be merged in here:
Can you run this locally and verify that it works after doing so? The playground will be automatically updated after merge here: |
Sorry for closing, accidentally hit the button |
Awesome, thanks! |
Re-frame has a new
re-frame.alpha
ns since 1.4.0. Upgraded re-frame and integrated the alpha ns.