Releases: safouane-ahmed-salah/PHP-React-Component
Releases · safouane-ahmed-salah/PHP-React-Component
v1.1.0
v1.0.0
- change props as first param of component
- add functional component
- add import functionality
- custom hook for import based on file extension
- custom hook for html element attribute
- separate class for component, Tag and Func
v0.4.0
1- detect automatically the first argument of component if its props not component
2- document the code
v0.3.1
- change the way of handling state via serializing the component
v0.2.4
- add description to the component class
- escape direct html rendering
- add some html tags
- disallow direct html to be passed in custom component
v0.2.3
updates:
setState can accept a function and added hook after state update
v0.1.1
allow array of components to be returned in render