Nikhil Rao

Results 163 comments of Nikhil Rao

Maybe we can use Python generators, something like ``` class State(pc.State): progress: float def do_thing(self): self.progress = 0 for i in range(100): self.progress += 0.1 yield ``` Then every time...

Got it, that makes a lot of sense, thanks for the explanation! We definitely need something like this - will add it in the following release.

This isn't on our roadmap currently, but is a really interesting use case. We will think about how we can incorporate this in the future. Thanks for checking us out!

It looks like you're passing the wrong State class to your app. You probably want to do ``` app = pc.App(state=DatePickerState) ``` Or if you meant to use substates, you...

That makes a lot of sense, it would be great to combine all these "microapps" together into a single service rather than hosting each one separately. We're seeing a similar...

@wassafshahzad Yes definitely! If you need help/guidance you can post on our Discord for faster replies.

Yes, we can look into this. We need to add support for stylesheets and class names in the components, but should be possible.

Thanks for reporting, we will investigate. Does it work on any other browser? Also, was there any error output on the terminal?

Thanks for raising this issue. Currently all state has to be managed through the app state (or substates). I agree the documentation is lacking here, we will improve it. But...

Yes currently the API port must be on port `8000` which may be causing the issue. We need to add a way to configure the port.