Agrippa 1.2 is out ๐ŸŽ‰๐ŸŽ‰

Agrippa is growing steadily – it’s been out for a little over two months, and already has a small community around it! ๐ŸŽ‰๐ŸŽ‰

If you’re not using Agrippa yet, get started here. If you are using Agrippa, thanks for being part of the community! Let us know …

Agrippa is growing steadily – it’s been out for a little over two months, and already has a small community around it! ๐ŸŽ‰๐ŸŽ‰

If you’re not using Agrippa yet, get started here. If you are using Agrippa, thanks for being part of the community! Let us know what you think about it, here or elsewhere.

Either way, these are the changes introduced in v1.2.0:

In general, the two main changes brought about in v1.2.0 are more options, this time with a focus on supporting different structural conventions that exist among React developers.

Most notably, you can now:

  • export a component as a default export (instead of a named export)
  • declare a component as a function() declaration (instead of as a const with an arrow function)
  • create memo() components.

These changes came as part of a larger reform in component generation. Generation logic was remade from the ground up – instead of a large, unwieldy template, we now have proper composition patterns and a ComponentComposer; internal terminology aside, this reform makes it much easier to scale, maintain and test the generation logic.

Following this reform, we have begun the process of writing standardized tests – testing for some of the core code already exists, and the rest will be covered in the soon future.

In parallel, we got some bonus enhancements – the API docs were rewritten and are now both comprehensive and easy to read, and Agrippa will also now search for a new version when run, so that you’ll always be informed when a new version is available.

You can also find this information at the release page.

That’s pretty much it! We already have some ideas for v1.3.0 – we’re currently looking into adding support for styled-components, React native Stylesheets and Mui 5 styling, writing more tests and more.

Join the community! If you haven’t, try Agrippa out, and if you find a bug in Agrippa or want to suggest a new feature, please reach out here or on GitHub.

Thanks for your time, have a great day!


Print Share Comment Cite Upload Translate
APA
Nitzan Hen | Sciencx (2024-03-29T15:54:49+00:00) » Agrippa 1.2 is out ๐ŸŽ‰๐ŸŽ‰. Retrieved from https://www.scien.cx/2021/10/21/agrippa-1-2-is-out-%f0%9f%8e%89%f0%9f%8e%89/.
MLA
" » Agrippa 1.2 is out ๐ŸŽ‰๐ŸŽ‰." Nitzan Hen | Sciencx - Thursday October 21, 2021, https://www.scien.cx/2021/10/21/agrippa-1-2-is-out-%f0%9f%8e%89%f0%9f%8e%89/
HARVARD
Nitzan Hen | Sciencx Thursday October 21, 2021 » Agrippa 1.2 is out ๐ŸŽ‰๐ŸŽ‰., viewed 2024-03-29T15:54:49+00:00,<https://www.scien.cx/2021/10/21/agrippa-1-2-is-out-%f0%9f%8e%89%f0%9f%8e%89/>
VANCOUVER
Nitzan Hen | Sciencx - » Agrippa 1.2 is out ๐ŸŽ‰๐ŸŽ‰. [Internet]. [Accessed 2024-03-29T15:54:49+00:00]. Available from: https://www.scien.cx/2021/10/21/agrippa-1-2-is-out-%f0%9f%8e%89%f0%9f%8e%89/
CHICAGO
" » Agrippa 1.2 is out ๐ŸŽ‰๐ŸŽ‰." Nitzan Hen | Sciencx - Accessed 2024-03-29T15:54:49+00:00. https://www.scien.cx/2021/10/21/agrippa-1-2-is-out-%f0%9f%8e%89%f0%9f%8e%89/
IEEE
" » Agrippa 1.2 is out ๐ŸŽ‰๐ŸŽ‰." Nitzan Hen | Sciencx [Online]. Available: https://www.scien.cx/2021/10/21/agrippa-1-2-is-out-%f0%9f%8e%89%f0%9f%8e%89/. [Accessed: 2024-03-29T15:54:49+00:00]
rf:citation
» Agrippa 1.2 is out ๐ŸŽ‰๐ŸŽ‰ | Nitzan Hen | Sciencx | https://www.scien.cx/2021/10/21/agrippa-1-2-is-out-%f0%9f%8e%89%f0%9f%8e%89/ | 2024-03-29T15:54:49+00:00
https://github.com/addpipe/simple-recorderjs-demo