Skip to content

Releases: safouane-ahmed-salah/PHP-React-Component

v1.1.0

02 Aug 01:34
67d9db7
Compare
Choose a tag to compare

change state handler to file

v1.0.0

29 Jul 16:24
83714da
Compare
Choose a tag to compare
  1. change props as first param of component
  2. add functional component
  3. add import functionality
  4. custom hook for import based on file extension
  5. custom hook for html element attribute
  6. separate class for component, Tag and Func

v0.4.0

31 May 13:58
12e3fea
Compare
Choose a tag to compare

1- detect automatically the first argument of component if its props not component
2- document the code

v0.3.1

01 May 04:43
4cef1f0
Compare
Choose a tag to compare
  • change the way of handling state via serializing the component

v0.2.4

27 Apr 04:12
4cef1f0
Compare
Choose a tag to compare
  • 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

25 Apr 12:20
4cef1f0
Compare
Choose a tag to compare

updates:

setState can accept a function and added hook after state update

v0.1.1

24 Apr 08:27
4cef1f0
Compare
Choose a tag to compare

allow array of components to be returned in render