bottle-react
bottle-react copied to clipboard
A microframework for Bottle+React (or Flask+React) projects.
I am just wondering if this project is still maintained as the latest commit is a year ago. however it is a very useful library and I hope it is...
When installing with `pip install bottle-react` on OSX (10.14.6), using python 3.6.0, I get the following error: ``` ERROR: Command errored out with exit status 1: command: /Users/joshua/projects/horvath/venv/bin/python3 -c 'import...
As title. This fixes some issues surrounding debugging outside scripts, etc. In particular, the BABEL_CORE script include could use this. It should probably be configurable for the very rare case...
``` try: import jsx_props self.default_props = jsx_props.__dict__.get('init%s'%name, dict) except ImportError: pass ``` Do not silently swallow import errors in non-prod environments.
fixes #22 Assuming `importlib.util.find_spec` is a suitable method for these purposes. I'm not sure what bottle-react's Python version guarantees are - this is certainly not in Python 2.7.
It is valuable to know whether a particular script loaded or failed when root causing client side errors, though it is not always possible to determine which set of scripts...
Will bottle-react will it coming for for 3.11? 