TrinityJS - Minimalistic web framework

Newbie Spellweaver
Joined
May 30, 2017
Messages
36
Reaction score
10
TrinityJS is a ReactJS inspired web framework solely made for the purpose of being fast, simple and lightweight.

Example of usage:

Features:

  • Reusable components
  • Routing
  • Store
  • Authentication wrappers for routing through store
  • Learning curve is fast and easy
  • Development made easy
  • HTML done in string
  • Code your own plugins (aka contexts)
  • And much more

Documentation:
Github:

I'll add a roadmap for what needs to be done

Be aware the API will change as this framework is not completely done nor is the documentation yet.
 
Newbie Spellweaver
Joined
May 30, 2017
Messages
36
Reaction score
10
# UPDATES

I've coded a new plugin
I got this idea off the already existing package for Scala.js plus it makes it more React like.

Before you would code it inline like this:


Now you can just do like this instead:


Coded the ability to also add CSS properties to the HTML tags.

e.g
PHP:
section({ style: { outlineStyle: 'dotted', outlineColor: '#00ff00' } })(
   span({ style: { color: 'red' } })(
      'duck yer nan!'   
   )
)