# In a react frontend would you generally convert the declarations types into something simpler or not?

**URL:** <https://forum.dfinity.org/t/in-a-react-frontend-would-you-generally-convert-the-declarations-types-into-something-simpler-or-not/17812>\
**Category:** Developers\
**Created:** [January 5, 2023, 3:30pm UTC](https://forum.dfinity.org/t/in-a-react-frontend-would-you-generally-convert-the-declarations-types-into-something-simpler-or-not/17812 "2023-01-05T15:30:39Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![peterparker](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@peterparker](https://forum.dfinity.org/u/peterparker)\
**Post date:** [January 6, 2023, 10:39am UTC](https://forum.dfinity.org/t/in-a-react-frontend-would-you-generally-convert-the-declarations-types-into-something-simpler-or-not/17812/4 "2023-01-06T10:39:34Z")

</div>

> [@Mathias](#):
>
> Couldn’t it be converted into something more convenient directly?

If I understand correctly there is a good reason why it converts to such types. I actually asked the same question when I started on the IC too, before I began to collaborate with the foundation. That was one of the answer [Candid code generation for nullable types - #4 by rossberg](https://forum.dfinity.org/t/candid-code-generation-for-nullable-types/6820/4)

---

_[View the full topic](https://forum.dfinity.org/t/in-a-react-frontend-would-you-generally-convert-the-declarations-types-into-something-simpler-or-not/17812)._
