FormidableLabs / freactal

Clean and robust state management for React and React-like libs.
MIT License
1.65k stars 47 forks source link

Example won't work #75

Closed tomexa closed 6 years ago

tomexa commented 6 years ago

Hi, I cloned this repository, installed dependencies in the main folder and in the example folder, and ran the build script successfully for freactal. But when I start and go to localhost:1337, almost every variable is undefined. I see the network call when I click on the fetch button and it returns a list of todos, but nothing changes on screen. It's like the state is never changed. I also tried to extract the example by putting src and package.json in a new folder and added freactal as a dependency and running it from there but it didn't change anything. (By the way, I had to import the function initializefrom freactal/lib/server and not freactal/server)

Did I miss something?

capture d ecran 2017-08-09 a 12 28 57

BasileTrujillo commented 6 years ago

Hi,

It seems to work on 1.1.0 but not on 1.1.1.

Jascha-Sundaresan commented 6 years ago

fixed this in https://github.com/FormidableLabs/freactal/pull/76

divmain commented 6 years ago

This should be fixed. Thanks @Jascha-Sundaresan!