2017-11-24, 09:18 AM
As this was a topic on Discord and it's largely tapped out there, I'll bring it up here.
This is mostly a 2.0 thing, but there are matters which pertain to 1.10. What direction is good with this? If Twig is adopted, adopting Vue or React in 2.0 or 3.0, as the team has leaned towards on Discord on several occasions will mean a double whammy of theme breakage and may make things tricky with ads networks which don't play nicely with SPAs (which are surprisingly common).
One possible option is to take a look at this earlier in the life of MyBB, as early as 1.10, and to think carefully about what implications the adoption of Twig may have. One option is even to use Twig on the JS side at a later date, if a choice if given to go all-in: https://github.com/twigjs/twig.js
With Twig, even if a switch is flipped or the site breaks, it can theoretically gracefully degrade to more classical functionality.
This is mostly a 2.0 thing, but there are matters which pertain to 1.10. What direction is good with this? If Twig is adopted, adopting Vue or React in 2.0 or 3.0, as the team has leaned towards on Discord on several occasions will mean a double whammy of theme breakage and may make things tricky with ads networks which don't play nicely with SPAs (which are surprisingly common).
One possible option is to take a look at this earlier in the life of MyBB, as early as 1.10, and to think carefully about what implications the adoption of Twig may have. One option is even to use Twig on the JS side at a later date, if a choice if given to go all-in: https://github.com/twigjs/twig.js
With Twig, even if a switch is flipped or the site breaks, it can theoretically gracefully degrade to more classical functionality.