elixir-type_check
moon
Our great sponsors
elixir-type_check | moon | |
---|---|---|
5 | 1 | |
510 | 168 | |
- | 5.4% | |
5.9 | 9.5 | |
10 months ago | 13 days ago | |
Elixir | Elixir | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
elixir-type_check
-
Elixir and Phoenix can do it all
Use this until the one built into the language is ready. It has incredibly low performance impact too.
https://github.com/Qqwy/elixir-type_check
-
Do people actually use @spec? Do you find it useful?
I'm using type check so I'm using @spec!. But basically the same thing. It's great and it can catch nils when I don't expect there to be any. Great to ensure null safety even if the language itself doesn't support it. Just this alone is killer feature for me.
-
What is the Elixir language used for ?
Because Elixir has TypeScript types build in. It has strong types in runtime. 42 != "42", try doing this in TypeScript. Plus there's a library for runtime type checking. https://github.com/Qqwy/elixir-type_check
- TypeCheck: Fast and flexible runtime type-checking for your Elixir projects
moon
-
Elixir and Phoenix can do it all
There are component libaries for LiveView.
https://github.com/petalframework/petal_components
https://github.com/coingaming/moon
I personally wouldn't use React for components in LiveView, you are just adding more complexity to your application for no reason. It really not that hard to build components using JS and LiveView. In the end you get less complex components than what you would get with react.
What are some alternatives?
hammox - 🏝 automated contract testing via type checking for Elixir functions and mocks
elixir-styler - An @elixir-lang code-style enforcer that will just FIFY instead of complaining
real world example app - Exemplary real world application built with Elixir + Phoenix
petal_components - Phoenix + Live View HEEX Components
StreamData - Data generation and property-based testing for Elixir. 🔮
Phoenix - Peace of mind from prototype to production
Drab - Remote controlled frontend framework for Phoenix.
next-ls - The language server for Elixir that just works. Ready for early adopters!
exp - Elixir library to statically inline expressions at compile time
lexical - Lexical is a next-generation elixir language server
re - Elixir library for writing readable regexes in functional style
last10k_liveview - Streams new SEC Filings in real-time using Phoenix LiveView