Apollo NextJs - typescript - Observation

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
chrishj
Posts: 229
Joined: 11 Jul 2011, 21:58
Location: England, Lancashire
Contact:

13 Dec 2022, 09:33

Hi,
My project uses TypeScript.
I am looking to build the AppMenu dynamically so the menu can include product brands based on the data in DB.
Are there type definitions for the types describing the data structures included in the Apollo?

I cannot see them in the zip file included with Apollo.
For example, useContext requires the default values o be supplied on instantiation.


Code: Select all

export const LayoutContext = React.createContext(layoutContextDefault);
I would not expect these definitions to be included in the general PrimeReact code base.

Does this need to be raised as an issue on GitHub?

Many thanks,
PrimeReact: 9.6.0
NextJs: 13.4.12
Theme Apollo v9.0
Database pg 8.8.0
react-hook-form: 7.38.0

ulasturan
Posts: 9
Joined: 06 Sep 2022, 08:31

05 Jan 2023, 15:55

Hi chrishj,

Thank you for your patience as we work to publish the type definitions for the Apollo PrimeReact template.
We understand that using TypeScript with Apollo can be helpful for ensuring type safety in your application, and we are committed to making this experience as smooth as possible.

Best Regards.

Ulaş Turan
PrimeReact Core Dev
Github: https://github.com/ulasturann
Ulaş Turan
PrimeReact Developer
Github profile: https://github.com/ulasturann

skalloween
Posts: 2
Joined: 29 Nov 2022, 12:08

01 Apr 2023, 00:41

Hello, how are you doing?
I wanted to know if there is any news regarding the TS version of the Apollo template, I am eagerly waiting for it.
Thank you very much in advance

habubey
Posts: 89
Joined: 24 Aug 2022, 13:17

14 Apr 2023, 10:56

Hi there,
I would like to inform you that the Apollo Template was released just yesterday.
Best
Bugra Beyduz
PrimeReact Core Developer
Github profile: https://github.com/habubey

chrishj
Posts: 229
Joined: 11 Jul 2011, 21:58
Location: England, Lancashire
Contact:

14 Apr 2023, 10:58

Thanks 🙏
PrimeReact: 9.6.0
NextJs: 13.4.12
Theme Apollo v9.0
Database pg 8.8.0
react-hook-form: 7.38.0

skalloween
Posts: 2
Joined: 29 Nov 2022, 12:08

18 Apr 2023, 03:08

Ty guys! Nice work!

Post Reply

Return to “Apollo - PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 19 guests