edbzn Profile Banner
Edouard Bozon Profile
Edouard Bozon

@edbzn

Followers
1K
Following
5K
Statuses
2K

Software Engineer · Angular, Node.js & Nx · Open Source Contributor

France
Joined June 2012
Don't wanna be here? Send us removal request.
@edbzn
Edouard Bozon
7 hours
@hm_no_1 There's no particular reason, I was curious about the possibility to type strip TS in the browser and running Angular with no build.
0
0
1
@edbzn
Edouard Bozon
9 hours
@caeous I get the idea; we can do that with micro frontends too. But in the end, we still have to build the artifact somewhere, it's not just a runtime.
0
0
0
@edbzn
Edouard Bozon
9 hours
@caeous How is it different from running esbuild in CI/CD? In the end, there's a process that builds the program, right?
1
0
0
@edbzn
Edouard Bozon
10 hours
@caeous I'm not sure to get your point, could you elaborate?
1
0
0
@edbzn
Edouard Bozon
10 hours
@redwan_ping @RManganelly If a component grows too much, it's probably a sign that it needs to be split.
0
0
0
@edbzn
Edouard Bozon
14 hours
@VirtualOverride Not really, the compiler is imported to run Angular in JIT mode, which means components are compiled at runtime.
0
0
1
@edbzn
Edouard Bozon
20 hours
Here's the link to the demo if you want to play with it:
0
1
9
@edbzn
Edouard Bozon
20 hours
@Mizz_Shk2 It's meant to be an experiment; I'm not saying you should get rid of the build step. Note that doing everything at runtime comes with a performance cost. However, there are scenarios where it can be useful.
0
0
1
@edbzn
Edouard Bozon
20 hours
@RManganelly All frameworks can do it, I believe; it's just always a bit trickier with Angular. External templates and styles won't work since they rely on the CLI for bundling—but who’s still using external templates and styles anyway 🤡
2
0
0
@edbzn
Edouard Bozon
1 day
@walkingriver It uses es-module-shims that enables importing ts files and stripping types at runtime using WASM
1
0
7
@edbzn
Edouard Bozon
1 day
@lefet098 Thank you!
0
0
0
@edbzn
Edouard Bozon
1 day
@lefet098 Here it is:
@edbzn
Edouard Bozon
1 day
🤯 I pushed my Angular nobuild experiment a bit more and it works! I realized decorators are just functions that we can polyfill. Here it is, Angular + TypeScript with no build step and no NPM, pure runtime in the browser. Isn't that really cool?!
Tweet media one
Tweet media two
Tweet media three
1
0
1
@edbzn
Edouard Bozon
4 days
@hans_schenker How is that fondamentaly different from an if else?
0
0
0
@edbzn
Edouard Bozon
4 days
@hans_schenker You can implement monads in js but it's not the point, I doubt that ternaries are the fp alternative to if statements.
1
0
0
@edbzn
Edouard Bozon
5 days
A good introduction to the challenging question: how can I organize my workspace the right way?
@NxDevTools
Nx
5 days
0
0
2
@edbzn
Edouard Bozon
6 days
Many autocomplete commands are outdated (I never found an easy way to grab them dynamically), but I still use this plugin daily to run targets without memorizing project and target names. Dynamic graph-based completion is 🔥
0
0
4
@edbzn
Edouard Bozon
6 days
Is anyone testing their stories using the @storybook/testing-angular package?
0
0
2