keajs / kea-next-test

test repository to experiment with next.js and kea
1 stars 0 forks source link

Beta 32, seems to more or less work #3

Open mariusandra opened 5 years ago

mariusandra commented 5 years ago

Hi @etiennecl

I upgraded to the latest kea beta (.32) and configured the next.js app to more or less work.

The only issues still:

Let me know if this is already something you can work with :)

etiennecl commented 5 years ago

Hey @mariusandra

Sorry for the late response, I've been busy with work. I will definitely try to take a look at this. I've been looking at making the execution of async saga inside the getInitialProps but without success. Although i've successfully created a hoc for the App component making it possible to use kea inside _app.js and pages components getInitialProps.

I should be able to take a look at this next week using the rc release.

P.S: adding the hooks capabilities is really dope.

Cheers

etiennecl commented 5 years ago

Hey @mariusandra ,

I've been very busy with work lately, therefore I didn't had a chance to look at the latest RC release and making it compatible with nextjs. Have you got any chance to look into this on your side?

Cheers

mariusandra commented 4 years ago

Hi, I think I got Kea (version 2.0.0-beta.7) working rather well with next.js

I wrote a guide about it on the new and yet unreleased docs page: https://kea-docs.netlify.app/docs/installation/nextjs