Submit

Back to the channels

#primate

  1. phaleth solidjs is doing some breaking changes https://github.com/solidjs/solid/blob/next/documentation/solid-2.0/MIGRATION.md
  2. blue phaleth: wow
  3. blue phaleth: https://repopack.com/project/primate/tasks/80#message-3046
  4. nevet Repopack · Sign in
  5. blue did you configure the app to have another bundle for docs?
  6. blue also I'll look look at the size increase
  7. phaleth nope, another entrypoint has to be configured for each route?
  8. phaleth looks the size of @primate/core has been incresing, but it's not too bad given the trouble with SSE
  9. blue yes, phaleth; see https://repopack.com/project/primate/tasks/80#apps%2Fwebsite%2Fviews%2Fdocs%2Fdocs%2Fconfiguration.md
  10. nevet Repopack · Sign in
  11. phaleth does that mean for primate website we have to define `groups: { docs: "/docs", guides: "/guides", blog: "/blog" }` and only then those routes will be split?
  12. blue yes; note that the splitting as it is currently will create full (not shared) bundles for all three. so browsing between those fences will load those full bundles instead of reusing share code. If we need a shared code functionality, then we need to extend this feature
  13. phaleth ah, ok, sounds good
  14. blue sonuds good as in, we need shared bundles, or you're ok with how it is? probably for primate website shared common code is better for perf
  15. phaleth it depends on how big is the "core" of the primate website app
  16. blue I'll have clanker analyse.
  17. * blue clankering
  18. phaleth or in other words if the chunk being split out is 40 kB of JS or more then it's worth splitting the route
  19. blue hm, that's hard to know in advance
  20. phaleth yes, has to be tested on primate website, I think this scenario is ideal `groups: { app: "/", docs: "/docs", guides: "/guides"}`
  21. phaleth if the homepage app JS bundle size drops significantly then the implementation is good
  22. blue good goal definition
  23. blue phaleth: please check out primate#80 (you should get a bell)
  24. phaleth alright
  25. blue the last note is a bit clankered I feel "This would be a separate follow-up capability rather than an implicit change to #80's isolation contract.". I would implement everything as part of #80
  26. blue I wonder this feature done right in one go, not different tasks
  27. blue I want*
  28. phaleth yeah, I can see what you are trying to do there
  29. phaleth but it's getting a bit hairy
  30. blue you have a better direction?
  31. blue clanker came up with some overengineered conf object, I told him to simplify it
  32. phaleth yeah, checking the route prefixes is fine, no need for other operations
  33. phaleth I will just try it on primate website
  34. blue well, the graphs thing is good to avoid having full bundles
  35. blue otherwise /, /docs and /guides will all be very big, you gain nothing
  36. blue goal is for / to be small I think
  37. phaleth yeah, I'm reading
  38. phaleth typescript is getting in the way, but that's because primate still uses pnpm which kinda ignores TS errors it seems
  39. blue yes
  40. phaleth mind if I just fixed all those errors so we can get replace pnpm to make the development faster?
  41. blue sure
  42. phaleth ok, let me comment, I think it's not going well
  43. blue k
  44. phaleth done :)
  45. phaleth looks like for primate website itself current changes are not a big deal as the core of the JS bundle is just too big
  46. phaleth but if those changes are good for repopack after the bug I found is fixed then I think it's all good
  47. phaleth should I also respond to the `graphs` idea?
  48. blue yes
  49. phaleth alright
  50. phaleth clanker is always so confident :)
  51. phaleth anyway, this change prolly won't do much for primate website even with the graphs feature, but worth a shot I guess
  52. blue ya
  53. phaleth also it seems like the graphs feature won't be flawless, may as well abandon the idea
  54. blue why not? also dev clanker finished, review clanker is now checking
  55. blue (finished fix, I mean)
  56. blue btw if you have issues with graphs feature, please post in tank
  57. blue task*
  58. blue phaleth: pinged you
  59. phaleth it just looks to me the rabbit hole got too deep, but I can test
  60. blue we're not doing graphs yet, the fix was for the error you encountered
  61. blue ok phaleth, looks now like it's working for you, yes?
  62. blue by the way, what do you mean with "full load"? it's supposed to load the additional assets
  63. phaleth I will comment what I mean by full load
  64. blue k
  65. phaleth ok, commented
  66. blue great, I see you also asked for changes, so it's now in REVISION
  67. blue great
  68. phaleth heh

Search posts